PDA

View Full Version : Installing cURL for PHP



nozavroni
March 23rd, 2007, 07:17 AM
I apologize if this is the wrong forum. I couldn't find one that seemed to fit my question. What I would like to know is how to install the cURL PHP extension on ubuntu. Is there anything special I need to know?

Mirrorball
March 23rd, 2007, 01:44 PM
sudo apt-get install php5-curl
Restart Apache.

nozavroni
March 27th, 2007, 03:39 AM
doesn't really get any more simple than that, does it? lol... thanks.

scotty69169
July 12th, 2009, 03:25 AM
I don't have a CDROM on my server. It's a 1U pizza box. How can I install cURL or any other programs/server on my box. Because it keeps asking for a CDROM.

Thanks,

Scott.

kevjaun
July 28th, 2009, 03:31 AM
@scotty69169 - not a cURL issue, check your software sources

sitthykun
May 17th, 2010, 02:40 AM
thanks ...:)

HughJarse
July 31st, 2011, 07:46 AM
sudo apt-get install php5-curl
Restart Apache.
Woudl have been nice if you added the command to restart apache

soltanis
August 1st, 2011, 07:43 AM
sudo service apache2 restart

ellenbo
May 22nd, 2012, 08:48 PM
Thank you for providing this info!

jdalt
September 10th, 2012, 03:44 PM
As of Ubuntu 12.04 after installing the LAMP server from tasksel I had to do:

sudo apt-get install curl libcurl3 libcurl3-dev php5-curlTo get curl working.