Fatal error: Call to undefined function curl_init()

If you’re using curl functionality in PHP you’ll need the cURL module installed otherwise you’ll see this error. “Fatal error: Call to undefined function curl_init()”

sudo apt-get install php5-curl
sudo service apache2 restart

Leave a comment

Your email address will not be published.