SEARCH:   GO
{Blog entries}
Jan 8

Written by: Javier Callico
1/8/2008 12:00 AM  RssIcon

These are the steps that worked for me:
  1. Uncommented the line "extension=php_curl.dll" in php.ini file.
  2. 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);
?>



Tags:
Categories:

Your name:
Gravatar Preview
Your email:
(Optional) Email used only to show Gravatar.
Your website:
Title:
Comment:
Security Code
CAPTCHA image
Enter the code shown above in the box below
Add Comment   Cancel