cannot get working under windows7 64 bit wamp, it's a breeze in linux and i am new to windows.

No mention of curl in phpinfo() and get this in my apache error log...

PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.13/ext/php_curl.dll' - The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.\r\n in Unknown on line 0

I have windows 7 64bit so downloaded
wampserver2.2e-php5.3.13-httpd2.2.22-mysql5.5.24-x64.exe

I read many posts, most mention copying the following 3 files from c:/wamp/bin/php/php5.3.13/ext/ into C:\Windows\system32 or C:\Windows\SysWOW64 folder
php_curl.dll, libeay32.dll, ssleay32.dll

below is a typical post i found but didn't resolve my problem
http://stackoverflow.com/questions/181082/how-do-i-install-curl-on-windows

To enable curl i clicked the php_curl option in the WAMP GUI thing and double checked that the php.ini settings were correct in my
C:\wamp\bin\apache\apache2.2.22\bin\php.ini
it was uncomented as expected like this...
extension=php_curl.dll

I am not sure how to use the sxstrace.exe tool mentioned in the message and any help or advice gladly accepted

Comments

ndmaque’s picture

solved

install the 32 bit version of wamp, job done.

alex.skrypnyk’s picture

I had exactly the same problem with exactly the same setup and the fix was simple.

All you have to do is to replace php_curl.php in 'ext' dir with the version found at http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/.

Make sure that you are using the same version of php_curl.php (specified in downloadable archive name) as your PHP version, otherwise it will not work.

Also, try normal rather than NTS (not-thread-safe) version first.

And of course, you need to stop WAMP and enable the extension through GUI (tray menu->PHP->extensions->curl) after the file has been replaced.

Founder, Software Engineer | www.drevops.com

svscorp’s picture

Confirm. It works!

thilankaxf’s picture

Download the file in the lick and replace it with your crul extension http://portfolio-max.blogspot.com/2013/04/curl-not-loading-error-in-apac...