To enable cURL in PHP I uncomment this line
extension=php_curl.dll
But cURL did not load on restarting Apache. Even on restarting the machine. I have PHP 5.2.1 installed with AppServer on windows XP.
Please help me enabling cURL. Any kind of help is appreciated.
Try this out:
Download the copy of the win32 PHP (not the installer one) from php.net (whichever php version that you want running on your webserver).
Then from the
dllfolder, copy these two files:libeay32.dllandssleay32.dllto yourWindows/System32(whichever Windows you have).And then from the extensions folder: get your
php_curl.dlland place it under your/php/extensionsfolder.Check your
php.inito ensure it’s referring to the correct extension folder, for example:And uncomment your extension to
php_curl.dllfor example:Restart Apache
Thanks. Hope it works for you.