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
Newbie : how to install curl on centos 5
Moderator: General Moderators
-
- Forum Newbie
- Posts: 1
- Joined: Sat Jun 05, 2010 5:33 am
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: Newbie : how to install curl on centos 5
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.
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
From a terminal you can do
to see what curl packages you have installed and are available for install.
Code: Select all
$ yum list "*curl*" (as root)