I have php_curl.dll
in xampp/php/ext/
folder and in php.ini
file I set extension=php_curl.dll
(removed ';'). I also set extension_dir = "C:\xampp\php\extensions\"
in php.ini
file. Then I restarted the Apache, even I restarted the system 2 times. But till in Phpinfo()
I cant see curl. and I am getting error like
"Call to undefined function curl_init()"`
I have PHP version 5.2.4.
Check your Apache's error_log
file. Even if php_curl.dll
is activated in your php.ini
, a startup problem might disable your php_curl.dll
, so it doesn't show up in phpinfo()
. Search for any line like this:
PHP Warning: PHP Startup: Unable to load dynamic library
Also check that the correct php.ini
is loaded (is shown at the beginning of phpinfo()
) and that your extension_dir
is correctly configured.
"At http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/ . Download the file that you need from the fixed curl extensions list at the bottom of the page, for example Windows 7 64 bit Machines will work correctly with the non nts file."
Source: http://www.developingtheweb.co.uk/php-5-4-3-and-5-3-13-curl-extension-fix/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With