Press enter to see results or esc to cancel.

Call to undefined function curl_init()?

If you encounter the following error when calling the php function curl_init the PHP curl extension is most likely not enabled on your server.

Call to undefined function curl_init()

In order to continue coding, you need to enable the PHP curl extension.

To do so you need to edit the server’s php.ini file and uncomment the line “;extension=php_curl.dll” by removing the semicolon from the beginning of the line. After you uncomment the line make sure you restart your web server for changes to take effect.

Comments

Leave a Comment