Call to Undefined Function Curl_Init() - with Wamp

Call to undefined function curl_init() - with WAMP

WAMP 2.2 comes with a wrong cURL extension. You should download the fixed file from the following link:

http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/. Then replace the file php_curl.dll into /php5.4.3/ext/.

Call to undefined function curl_init() after updating PHP version in WAMP

This is very dumb of me, but I finally solved it, leaving this answer here in case anyone struggles with the same problem.

I needed to update Apache from 2.4.33 to 2.4.47. Seems like the .33 version had problems with loading the cURL extension in PHP 7.4 for some reason.

Call to undefined function curl_init() error in wamp 2.2

Visit this and have a file under Fixed curl extensions:
http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/
after download and replace related file then restart server.
In browser navigate to localhost and make sure there is curl extensions showing under Loaded Extensions :

Call to undefined function curl_init() in wampp

Call to undefined function curl_init

You either edit wrong php.ini file or something is missing on your system, preventing curl extension from loading. You shall check with phpinfo() where is proper php.ini, then check if you got extension entry for cURL really enabled. If so and it is still not working then next step should be checking Apache's error.log looking for detailed error messages from PHP.

WAMP 2.2 Localhost Call to undefined function curl_init()

Make sure the php_curl extension is selected in your Wamp PHP extension options.

Edit to make the answer clear: There are two php_curl.dll files to be found on the website linked to in the question:
http://www.mediafire.com/file/0hm40owj08y68p7/php_curl-5.3.13-nts-VC9-x64.zip
and
http://www.mediafire.com/file/qwgdzgccthzwc15/php_curl-5.3.13-VC9-x64.zip

Looks like only one of them worked for the OP.

Call to undefined function curl_init(), but it's enabled

Replace the dll file found in ext folder with the correct version here:

http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/

I am using win 8 64bit so the version for me was:

http://www.mediafire.com/?0hm40owj08y68p7



Related Topics



Leave a reply



Submit