Click to See Complete Forum and Search --> : [RESOLVED] PHP cURL
naskar
04-22-2008, 06:26 AM
Hi there,
Could anyone help me setup PHP cURL on Windows ? I've referred to some guides but i'm still not yet sure on where to place the different cURL folders.
Any help would be appreciated.
Thanks
Weedpacket
04-22-2008, 05:35 PM
Install PHP. Uncomment "extension=php_curl.dll" in php.ini Check the manual's note about Windows in http://www.php.net/manual/en/curl.installation.php Restart the server
naskar
04-23-2008, 02:38 AM
Hi Weedpacket, thanks for the help. I followed the instructions you linked to and some more on Google and this is how I got cURL working with PHP on Windows :
Copied libeay32.dll and ssleay32.dll to c:\windows\system32
Edited my php.ini file un-commenting extension=php_curl.dll
Checked what my extension directory was (extension_dir = "./")
Copied the cURL folder contents to said extension directory.
Restarted Apache server
6. phpinfo() now shows cURL is active
bradgrafelman
04-25-2008, 03:35 PM
Copied libeay32.dll and ssleay32.dll to c:\windows\system32You should never copy any PHP-related file outside of the main PHP directory.
The .dll support libraries should stay in the main PHP installation folder. If PHP can't find them, then you didn't follow the instructions as you say you did, as the instructions at php.net include adding the PHP directory to your system's PATH environment variable.
PHP Builder
Copyright WebMediaBrands Inc. All Rights Reserved.