PHP Fatal error: Call to undefined function curl_init()

Description:

CURL is not enabled in the server.

Solution:

Open php.ini , navigate to ;extension=php_curl.dll (around line 950) and uncomment it by removing the semi colon in front.

Then restart the server.

Also you can check if is enabled by creating a page with phpinfo(); inside. The CURL related information should be there if CURL is enabled.

 

Advertisements

About admin

Just another php developer trying to give something back to the community.
This entry was posted in PhP and tagged , , . Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s