curl-and-php
Re: Linux Curl PHP problem
Date: Sun, 26 Jul 2009 21:32:59 -0500 (CDT)
yum search curl
Then find php in the output to find the right name yum uses.
On Wed, July 22, 2009 12:18 pm, DreamSight wrote:
> Hi Mark
> did PHPINFO and also "php -m" and is not installed yet
> when i
> use yum to install i get:
>
> .......... tried yum install curl
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
> * etc.
> Excluding Packages in global exclude list
> Finished
> Setting up Install Process
> Parsing package install arguments
> Package curl-7.15.5-2.1.el5_3.4.i386 already installed and latest
> version
> Nothing to do
>
> ......... then tried yum install php-curl
> [root@]# yum install php-curl
> Loaded plugins: fastestmirror
> Loading mirror speeds from cached hostfile
> * etc.
> base | 1.1 kB
> 00:00
> updates | 951 B
> 00:00
> addons | 951 B
> 00:00
> extras | 1.1 kB
> 00:00
> Excluding Packages in global exclude list
> Finished
> Setting up Install Process
> Parsing package install arguments
> No package php-curl available.
> Nothing to do
>
> paul
>
>
> ----- Original Message -----
> From: "Mark E" <mark_at_edwards.org>
> To: "curl with PHP" <curl-and-php_at_cool.haxx.se>
> Sent: Wednesday, July 22, 2009 5:13 PM
> Subject: Re: Linux Curl PHP problem
>
>
>>
>>
>> DreamSight wrote:
>>> Hi Mark
>>> thank you for your reply, i did not expect that as
>>> fast:) the
>>> kind of Linux is "CentOS release 5.3 (Final)" up to this point I
>>> have had
>>> lot's of experience with windows boxes but very little with Linux
>>> Server
>>> (Unix) machines, I am on a fast learning curve:)
>>
>> Do a Google search on something like this:
>>
>> yum curl php apache
>>
>>
>> But first, use the command "php -m" to see what modules are loaded
>> into
>> PHP. If you don't see curl listed then you need to install it. It's
>> "yum"
>> that you'd use to install packages into CentOS. So you need to make
>> sure
>> that you have the php-curl extension installed.
>>
>> With that done PHP and curl should work from within Apache after
>> restarting Apache.
>>
>> You can also create a PHP file with the following code, then load
>> the page
>> in a browser to see how PHP under Apache is configured:
>>
>>
>> <?php
>> phpinfo();
>> ?>
>>
>>
>>
>> Mark
>> _______________________________________________
>> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>>
>
>
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>
-- Some people ask for gifts here. I just want you to buy an Indie CD for yourself: http://cdbaby.com/search/from/lynch _______________________________________________ http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-phpReceived on 2009-07-27