I had the same problem with Wampserver 2.2 (64 bit). Here's what I did to get it working:
1) Go to wampserver->PHP->PHP extensions, enable the php_curl extension
2) Open <wamp server root>\bin\php\php5.3.13\php.ini and uncomment the following line:
extension=php_curl.dll
3) Go to <wamp server root>\bin\php and copy libeay32.dll and ssleay32.dll into your windows\system32 folder
4) If you try and restart wampserver's services, you'll notice that lib_curl still doesn't work. Turns out that the version of php_curl.dll bundled in the pack is not compiled correctly.
Apache's error log contained the following:
<b>Warning</b>: 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.
5) You'll need a properly compiled version of php_curl.dll. I downloaded php_curl-5.3.13-VC9-x64.zip from this blog post:
[
www.anindya.com]
Direct link:
[
www.mediafire.com]
I replaced php_curl.dll inside <wamp server root>\bin\php\php5.3.13\ext with the one above, and everything worked fine
6) To test if the cURL extension is working for you, try this code snippet, obtained from [
stackoverflow.com]
<?php
error_reporting(E_ALL);
ini_set('display_errors', '1');
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL,
'http://news.google.com/news?hl=en&topic=t&output=rss');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$contents = curl_exec ($ch);
echo $contents;
curl_close ($ch);
?>
Here's another post with similar info (I found this after I wrote these instructions):
[
www.o3n.org]