Solved : curl_init() function not working in Ubuntu
Here solved the error
Fatal error: Call to undefined function curl_init()
You need to install CURL support for php.
In Ubuntu you can install it via
If you're using apt-get then you won't need to edit any PHP configuration, but you will need to restart your Apache.
There is an installation manual in the PHP CURL documentation.
In Ubuntu you can install it via
sudo apt-get install php5-curl
If you're using apt-get then you won't need to edit any PHP configuration, but you will need to restart your Apache.
sudo /etc/init.d/apache2 restart
If you're still getting issues, then try and use phpinfo() to make sure that CURL is listed as installed. There is an installation manual in the PHP CURL documentation.
COMMENTS