Page 1 of 1

Newbie : how to install curl on centos 5

Posted: Sat Jun 05, 2010 5:36 am
by madnessken
Hello I want to install curl-php on my server , I tried yum install curl but my code is still not working..
How can I install curl php for centos 5 ?
I read some tutorials but still don't got the point.

Thanks in advance,

madnessken

Re: Newbie : how to install curl on centos 5

Posted: Sat Jun 05, 2010 6:18 pm
by John Cartwright
cURL usually comes with the installation packages, but is disabled by default. To enable curl, you simply need to uncomment the curl extension in your php.ini.

I.e.,

change

[text];extension=curl.so[/text]

to

[text]extension=curl.so[/text]

and restart Apache.

Re: Newbie : how to install curl on centos 5

Posted: Mon Jun 07, 2010 1:51 am
by Doug G
From a terminal you can do

Code: Select all

$ yum list "*curl*" (as root)
to see what curl packages you have installed and are available for install.