[php] Call to undefined function curl_init().?

When i am going to implement Authorize.net payment gateway. However, I got this error:

Call to undefined function curl_init()

Please let me know what is wrong in it.

This question is related to php curl

The answer is


You have to enable curl with php.

Here is the instructions for same


The CURL extension ext/curl is not installed or enabled in your PHP installation. Check the manual for information on how to install or enable CURL on your system.