Forum Moderators: coopster

Message Too Old, No Replies

Should I have a Lib and Include directory in my PHP install?

         

neophyte

8:20 am on Aug 26, 2014 (gmt 0)

10+ Year Member



Hello All -

I'm trying to track down the reason that I can't install cURL on my local dev environment and came across the following from the CURL/PHP installation manual:

To use PHP's cURL support you must also compile PHP --with-curl[=DIR] where DIR
    is the location of the directory containing the lib and include directories
.

I just checked my PHP install (which has worked fine for years) and notice there isn't a lib or include directory.

The only directories present are: dev, ext, extras, PEAR.

Am I missing some directories or am I just completely lost?

neophyte

9:20 am on Aug 26, 2014 (gmt 0)

10+ Year Member



Wow... got it!

Finally stumbled across a site that simply said:

"If you're using Windows, you can enable Curl support by copying the files libeay32.dll and ssleay32.dll into your c:\windows\system32 folder, then enabling the extension in your php.ini file. Look for the line ";extension=php_curl.dll" and take the semi-colon off from the beginning."

Fantastic... my journey on how to get this working has finally come to an end. Hope the above helps someone else!