Setup PHP with cURL

April 15th, 2009

I recently upgraded my server from php4 to php5, I did the usual basic php5 install using apt-get and have had to add various libraries as and when I need them. Doing this is relatively simple on debian with the apt-get command. Simply enter the following into your terminal session:

sudo apt-get install curl libcurl3 libcurl3-dev php5-curl

If you dont have sudo installed then simply enter it without then enter the following to reboot your apache server for the changes to take effect.

sudo /etc/init.d/apache2 restart

Again if you dont have sudo installed then remove it from the line before you press return and cURL will be fully working – enjoy.

¬ SHARE

Tags: , , ,

Leave a Reply

It’s the girl that makes the dress beautiful not the other way around. – Simon Dann

Link Love

  • BubblesSOC

About Photogabble

Photogabble has been developed, edited and written by Simon Dann. Simon is a 22 year old post-grad Communication, Culture & Media student, currently studying for his Masters.

Like this Website?

If you like this website you can subscribe to the feed, or recieve email updates.

TwitterCounter for @carbontwelve