Daveo
Daveo

Reputation: 19882

installing php cURL on IIS

I cannot install PHP-CURL on IIS. I think I have tried everything.

My phpinfo() output does not list cURL as available. I have C:\PHP in my path and working correctly. I have edited the registry to read from C:\PHP\php.ini. phpinfo() output shows the correct .ini path loaded. I have uncommented 'extension=php_curl.dll' I have ssleay32.dll and libeay32.dll availble in C:\PHP


Upvotes: 0

Views: 13076

Answers (2)

jduren
jduren

Reputation: 628

Try running:

php-cgi.exe -v

and see if any errors come up.

Also make sure the php is correctly in your path by going to the command line and typing:

echo %PATH%

As well make sure the php_curl.dll is in the correct directory and that ssleay32.dll and libeay32.dll are the same versions.

If all else fails try reinstalling PHP as I remember there being some issues a while back with the Curl Module not working on 5.1.4.

As well someone else mentioned installing the thread safe PHP package versus the non-thread package resolving a similar issue.

Upvotes: 3

Sam Day
Sam Day

Reputation: 1719

Did you definitely put php_curl.dll in the directory that PHP reads extensions from? Are the file permissions on it ok? And the big question: where did you get the php_curl.dll from? If you got a precompiled one it might be compiled for a different version of PHP than you are running. Check your webserver logs and see what comes up from PHP when you restart the server/container/whatever.

Upvotes: 2

Related Questions