Install curl extension for PHP If your apache needs curl you can simple install with the Terminal.Note if you are not root type “sudo” in the front of the command. Shell sudo apt-get install curl php5-curl 1 sudo apt-get install curl php5-curl