LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   yum install php-curl trouble (http://www.linuxquestions.org/questions/linux-newbie-8/yum-install-php-curl-trouble-631681/)

wificonnexion 03-30-2008 09:35 AM

yum install php-curl trouble
 
Hi there,

I try to install php with the curl extension on my 2.6.23.12-52.fc7 GNU/Linux. As far as I know I should search for the php-curl package with yum by typeing this:

[root@james ~]# yum search php-curl
fedora 100% |=========================| 2.1 kB 00:00
updates 100% |=========================| 2.3 kB 00:00
No Matches found

but as you can see the result is negative - no php-curl found.

I guess the repo are in place because I can find allmost any other package.

[root@james ~]# yum search php-mysql
fedora 100% |=========================| 2.1 kB 00:00
updates 100% |=========================| 2.3 kB 00:00
php-mysql.i386 : A module for PHP applications that use MySQL databases
php-mysql.i386 : A module for PHP applications that use MySQL databases

etc ...

What can I try and don't tell me to google it cuz I've already did that for a whole day now.

niceguy_81333 03-30-2008 10:22 AM

Hi
Please try to install the following
packages as per your requirement(these are the RPMs i have seen on my RHEL4 distro).
1. curl-7.12.1-3.i386.rpm
2. curl-devel-7.12.1-3.i386.rpm
rgds
bil

wificonnexion 03-30-2008 11:11 AM

thanks bil but could you be more specific in how should I don that becasue I barely know how to install anything under linux and that's the main reason I'm using yum.

Regards,
Jamesz

niceguy_81333 03-30-2008 11:40 AM

Please try
#yum install curl
rgds
bil

hilel14 03-30-2008 11:41 AM

You can also try this:
yum list php*
you will get a list of all packages that start with php
On my Fedora 8, I see one called php-pear-Net-Curl
I hope that helps

wificonnexion 03-30-2008 04:19 PM

@niceguy_8133

curl was already installed.

[root@james ~]# yum install curl
fedora 100% |=========================| 2.1 kB 00:00
updates 100% |=========================| 2.3 kB 00:00
freshrpms 100% |=========================| 2.1 kB 00:00
Setting up Install Process
Parsing package install arguments
Package curl - 7.16.4-1.fc7.i386 is already installed.
Nothing to do

@hilel14

You were right.
php-pear-Net-Curl was his name ! Guess I was too tired to see that package.

Thanks both.

rodoprogramador 09-29-2008 10:00 AM

verification
 
Before of install, you could to use
rpm -qa curl

kashifmoin 05-11-2011 01:27 AM

php curl installation and download link needed for oracle linux
 
Dear all.

I need php curl version download link .. installation instructions for it.. please help ..


All times are GMT -5. The time now is 11:51 AM.