Re: [PHP-DB] how to upgrade php in linux

[email protected] (Kesavan Rengarajan)
Newsgroups php.db
Message-ID <[email protected]>
As someone else mentioned in the list, try the remi repository.

If you still want to compile from source, then this is what you do to  
search for packages:

yum search packagename
So you would be doing:
yum search gcc
  and then install the missing package before compiling php.

You may have to install a few missing packages and it's not really a  
lot of fun :(.

Also, I would like to let you know if you are going to be using Zend  
Framework, you better stick with the 5.2 series as I know that there  
are a few issues with 5.3 and ZF. There are a few other bugs that  
forced me to downgrade to 5.2.
Sent from my iPhone

On 05/05/2010, at 4:59 AM, Chaitanya Yanamadala <[email protected] 
 > wrote:

> hai bavitra
> i have read the article from this site
> http://www.web-tech-india.com/articles/php/compiling_php_apache/
> but actually the thing is it is not working for me..
>
> it is giving me some error like this
> checking for gcc ---no
> checking for cc--no
> configure: error: no acceptable cc found in $PATH..
>
> this tells me that the i am missing the cross compiler from my  
> machine but i
> dont have an idea from where can i get this..
>
>
> Chaitanya
>
>
>
> On Tue, May 4, 2010 at 8:45 PM, Bavithra R <[email protected]>  
> wrote:
>
>>
>>
>>> i have downloaded the tar file from php.net but dont know how to
>>> complile
>>>   the same for the linux.
>>>
>>> Hi Chaitanya
>>>
>>>
>>> As you have downloaded the tar file you need to extract it.
>>>
>>   Try this
>> *    Extraction:  *        tar -jxvf php-5.3.2.tar.bz2
>> where php-5.3.2.tar.bz2 is the filename you downloaded.
>> Check to the file extension whether it is .bz2
>> If not use
>>          tar --help
>> which provides the extraction options.
>> Then you need to configure it.For that
>> *  configuration: *   ./configure --prefix==/usr/local/php
>> I hope this works.Try and see
>>
>>
>>
>> regards
>> --Bavithra
>>
>>
>>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.