By Javier Callico on
1/8/2008 12:00 AM
These are the steps that worked for me:
- Uncommented the line "extension=php_curl.dll" in php.ini file.
- Copied libeay32.dll and ssleay32.dll to C:\WINDOWS\system32.
Note that these two dlls can be found on the PHP folder under the dlls folder. Adding this folder to the Windows PATH variable should also work.
You can use this simple test script - which retrieves and displays yahoo.com homepage - to verify that CURL is now working:
<?php
$ch = curl_init("http://www.yahoo.com/");
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
?>