cURL is enabled in php.ini but still not working
I resolved the issue by editing my PHP.ini
to include the full path of the extension as opposed to just the name.
So where most php.ini
files just have this line of code:
extension=php_curl.dll
I changed it to look like this:
extension=C:\amp\PHP\ext\php_curl.dll
I have no idea why PHP/Apache couldn't show an error while I had extension=php_curl.dll
in my php.ini
. At least saying something like dll missing
or something like that, but that resolved my issue.
I believe you edited the demo or wrong php.ini file. In your phpinfo you will find a path to the used php.ini file. It's next to the text: "Configuration File". Check out that file and make sure that the following option is set (by default it is commented out with a semicolon).
extension=php_curl.dll
If you can not find this line, you might have a different version of Apache. In this case you might find a directory called "mods-available" in which the curl extension lays. You need to move this file to the "mods-enabled" folder. Honestly I think this only applies to Linux environments, not sure about Windows.