How to enable curl, on Ubuntu LAMP installation

By: Kevin | September 9, 2014

So you installed LAMP but you’re missing the cURL library. I had the same problem. By default cURL is not included with the basic installation of LAMP on Ubuntu Server 14.04. To add the cURL library simply execute this command

sudo apt-get install curl libcurl3 libcurl3-dev php5-curl

Once the installation is complete be sure to restart Apache2.

sudo /etc/init.d/apache2 restart


sudo service apache2 restart