Today I was implementing Facebook authentication and downloaded FB PHP SDK and encountered a first issue. CURL extension was not enabled in WAMP. Googled around and found several answers and followed every steps suggested and still it was not working. I ended up downloading php_curl.dll and curl package. php_curl.dll comes with PHP 5.3.5 it is in ext dir and libcurl.dll is not required for PHP 5.3.5. So if you have php 5.3.5 do not waste time downloading it.
I would suggest follow these steps for php version 5.3.5 and above.
1. Write a simple php program as shown below.
<?php
phpinfo()
?>
2. Run this in a browser and search for "CURL" if not found then follow the steps below.
3. Run this in a browser and find out the location of php.ini file. This is important step which is missing.
php.ini file exists in bin\php\php5.3.5\ directory also. So it is important to know which php.ini file
is used.
D:\wamp\bin\apache\Apache2.2.17\bin\php.ini
Edit this file and uncomment line (delete first character ";" ) "extension=php_curl.dll" from above file.
3. If just uncommenting above line does not work then copy libeay32.dll and ssleay32.dll to C:\windows\system32\ directory.
Adding CURL extension to PHP 5.3.5
