How do I enable cURL in PHP?
For Ubuntu (and probably all Debian-Based) Linux Distributions:
sudo apt-get install php5-curl sudo /etc/init.d/apache2 restart
You might have seen PHP Fatal error: Call to undefined function curl_init() before.
PHP Fatal error: Call to undefined function curl_init()