XAMPP and cURL not working, after uncommenting php.ini XAMPP and cURL not working, after uncommenting php.ini curl curl

XAMPP and cURL not working, after uncommenting php.ini


I had the exact same problem but could not find the solution online.

Every site I saw said to uncomment "extension=php_curl.dll" which didn't fix the problem.

I finally solved it by adding the path to curl.dll to the variable.

That is, I changed: extension=php_curl.dllto:extension="F:/WebServer/PHP/ext/php_curl.dll"

Hope this helps you or somebody else.


Check this out: http://www.kanersan.com/blog.php?blogId=45 I had a similar problem except for error reporting. Searched all over the internet and all I found was "modify the php.ini file". I modified all the php.ini files but I was still getting the same error. Turns out WAMP has visual settings which I believe overwrite the php.ini. So to turn on curl, you'd left click on XAMPP icon in your start start menu -> PHP -> PHP Settings -> php_curl (make sure it is checked).

Maybe this is your problem.

Hope it helps.

-c0d3


Restarting the PHP server will do.