Ensure that the php.ini file that the PHP engine uses is the one you think it is.
Ensure extension_dir in php.ini is correctly set to the ext folder
Ensure extension=php_curl.dll in the php.ini is uncommented
Finally and maybe the one most people don't know:
4. Ensure that there are these two files in the Windows System32 folder:
libeay32.dll
ssleay32.dll
If not there, you may copy these two files from the php folder.
Since XAMPP went through some modifications, the file is now at
xampp/php/php.ini
.In SUSE Linux:
If you're are using MAMP, cURL is enabled by default.
Actually I did it by uncommenting
extension=php_curl.dll
in the xampp\apache\bin\php.ini file.Basic tip: After enabling the CURL in php.ini file, you need to restart the web server to make it work (my experience says).
Steps for Windows 7:
extension=php_curl.dll
in the php.ini is uncommentedFinally and maybe the one most people don't know: 4. Ensure that there are these two files in the Windows System32 folder: libeay32.dll ssleay32.dll If not there, you may copy these two files from the
php
folder.