views:

562

answers:

4

I'm having problem to get PHP CURL to work on my machine. I'm using Windows 7 Home Premium Edition (64 bit).

I tried to follow every single tips availble but couldn't get it to appear when I did phpinfo(). And, till now my CURL function is still not working.

  1. Enable php_curl.dll extension from php.ini

  2. Copy libeay32.dll and ssleay32.dll to Windows\System32 folder

  3. Restart Apache

I'm using PHP 5.2.14 thread safe (the zip package) and Apache 2.2.5. Experts, please help me on this.

Thx!

A: 

Thanks for pointing this out!

I'm just here to confirm this solution too. After setting up a new server with a fresh install of Win 2003 IIS6 and PHP 5.2.14 I could not get cURL to work. Error log reported "PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php_curl.dll' - The specified module could not be found. in Unknown on line 0.".

I tried everything; changed anything remotely relevant in php.ini, moved files from c:\php and c:php\ext to system32, ran PHP in FastCGI, tried non thread safe PHP, tried different versions of the dependant dlls (libeay32.dll and ssleay32.dll), and rebooted dozens of times! The only thing that worked, after reading above, was to revert to a previous version of PHP. I'm now using 5.2.12 and all good.

Would be nice to get those 4 hours back!

riggaP
i want my 4 hours back too dude...this issue is really stupid...and knowing that this is a bug...I almost flip out like hell...
ronanray
A: 

Your right.. it's 5.2.14 having some bug.. I took the 5.2.13 version and copy the php_curl.dll over the 5.2.14 version and then took the 5.2.13 version of the libeay32.dll and ssleay32.dll and placed it in the windows system32 directory.. and voila.. it works.

Been bitting my nails on this for the last few day.. now I can run my debug work station! I actually had a suspicion about it being php's latest version.. now i have proof!

Sid
A: 

Stopping by to confirm that curl under php 5.2.14 ISAPI on IIS doesn't not work!!!

I had to install php 5.2.13 and that solved the problem with curl

I've already spent 3 hours with this stupid problem, it's friday night 6:43 pm and thanks to you guys I can be off for a few beers.

berrugo
A: 

PHP5.2.14, Windows7 64bit, curl doesn't work as well! Everythign good, no start-up error! It just seems module can't load! phpinof() didn't show anything releated to CURL! Revert to 5.2.14 :s

kureikain