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. sudo apt-get install curl php5-curl