开发者

installing php cURL on IIS

开发者 https://www.devze.com 2023-01-17 02:50 出处:网络
I cannot install PHP-CURL on IIS. I think I have tried开发者_如何转开发 everything. My phpinfo() output does not list cURL as available.

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


  • Windows Server 2003
  • IIS 6
  • PHP 5.2.4


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消