Ubuntu install / setup curl for php / php5
General News July 10th, 2007
Hello person viewing this page
I recently had to use curl on my local ubuntu dev machine and you maybe trying todo so yourself and have found this page by looking for some information on ubuntu, installing / configuring or seting up curl to handle your php requests.
Well heres how i setup curl for ubuntu, and i hope it works for you to:
sudo apt-get install curl libcurl3 libcurl3-dev php5-curl
Then restart apache2 and you should be away, hope this helps.

July 24th, 2007 at 4:07 am
Thanks! That helped! Throw some adsense on here so you get the revenue you deserve for that one.
August 13th, 2007 at 6:37 am
Thanks!
August 19th, 2007 at 8:11 pm
Thanks a lot man! But could you also add a command that will restart apache? I just ran that command and the command finished successfully but I guess I have to restart my computer in order to restart apache. I’m pretty sure it will work.
August 19th, 2007 at 9:54 pm
Restart apache:
sudo apache2 -k restart
August 21st, 2007 at 6:08 am
Hey it worked! Thanks. Could you add this on http://www.ubuntuguide.org?
September 4th, 2007 at 4:15 pm
Thank you so much! It worked perfectly!
September 13th, 2007 at 1:47 am
Hi, this might seem like a dumb question, but I have a plugin which requires the path to “curl/bin” I’ve been trying to find this path in Unbuntu Feisty 7.04 but no luck.
If anyone can help, I’d greatly appreciate it. Thanks in advance.
-Josh
September 13th, 2007 at 2:09 am
Hi Josh,
it should be /usr/bin/curl
Failing that, try:
sudo updatedb
locate curl | grep bin
Hope this helps,
Tom
October 18th, 2007 at 2:43 pm
Thanks this is what I was looking for.
Josh, to find the path to most any executable in *nix you should be able to find it with the following (no quotes)
“which curl”
[code]
burke@M86918:~$ which curl
/usr/bin/curl
[/code]
October 23rd, 2007 at 9:39 am
I’ve been searching for 2 days on how to do this.
Thanks
October 31st, 2007 at 3:42 pm
thanks for sharing, saved me time!
November 26th, 2007 at 11:26 pm
Thanks for saving me from a “duh” moment!
November 29th, 2007 at 5:46 am
aaahhhh your a life saver, thanks
December 12th, 2007 at 4:24 am
Hi there!!
Nice one.. thanks for sharing this feature.
i will love to hear from you on my blog as well
http://amitcreativeras.blogspot.com
June 1st, 2008 at 7:59 pm
Thank you very much. I was attempting to get the Wordpress Plugin simpleTwitter to work and it required cURL. Google and three click later I have the answer.
Props to you!