Enable CURL in WAMP Server
CURL will not be enabled by default in WAMP when you install wamp server in your PC. Every php programmer have to use CURL to make remote connection.
The steps are as follows :
1) Close WAMP (if running)
2) Navigate to WAMP\bin\php\(your version of php)\
3) edit php.ini
4) Search for curl, uncomment extension=php_curl.dll
5) Navigate to WAMP\bin\Apache\(your version of apache)\bin\
6) edit php.ini
7) Search for curl, uncomment extension=php_curl.dll
8 ) Save both
9) Restart WAMP
WAMP and PHP’s cURL Windows 7 x64 bit
I came across, yet another, issue with WAMP server (I’m beginning to question the usability of this application.)
Anyhow; the error I received, even after enabling the php_curl.dll extension, was the following:
‘unable to load dynamic library php_curl.dll’
When I checked the Apache error log, I was shown this:
Warning: 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. in Unknown on line 0.
The fix was to replace the php_curl.dll file in C:\wamp\bin\php\php5.3.13\ext with one of the following:
That will solve your Curl issues.