how to install php curl (linux) apache2
#install the latest php CURL
sudo apt-get install php-curl
#install a specific PHP[version]-curl, php version 5 is the example below
sudo apt-get install php5-curl
#restart apache by typing
sudo service apache2