Tuesday, February 22, 2011

Installing cURL on Debian 64 based systems

For many things I work on cURL is needed.

I often forget exactly how to do it.

If it helps you, that is great.

But, these steps are mostly for me:

sudo apt-get install curl php5-curl

sudo vi /etc/php5/apache2/php.ini

add the following to the extensions section--
extension=curl.so

PgDn will allow you to navigate to the bottom of the file quickly enough

i will allow you to enter new data

Esc will exit data entry mode

When you are out of data entry mode, dd will delete a whole line if you made a mistake

save by typing-- :!w

exit by typing-- :!q

sudo /etc/init.d/apache2 restart

No comments:

Post a Comment

Followers