Call to undefined function curl_init() – PHP

By | 30/12/2013

Fatal error: Call to undefined function curl_init()

This Error rises because “php_curl” extension is not enabled.

Just enable the “php_curl” to debug these error.

How to enable curl Extension in Wamp:

Step 1: Click on the Wamp server in Notification Area, Then select PHP. Click on the PHP Extensions. 


Step 2 : List of extensions will be Displayed in a new menu. Click on the  php_curl.

After selecting php-curl in the PHP extensions. Wamp server will restart Automatically.

Alternate method to enable the curl is, open the php.ini and search for “extension=php_curl.dll”  if  “; is present before “extension=php_curl.dll” just remove it then save the php.ini and restart the wamp server. By removing “;”  any extensions can be enabled.

Post By Praveen (38 Posts)

Website: →


About Praveen

Praveen S has written 38 post in this blog.

Leave a Reply