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

[email protected] (Chaitanya Yanamadala)
Newsgroups php.db
Message-ID <[email protected]>
hai dan
thank you for your suggestion regarding the google thing..
thank god u said me that or else i could have never known that google will
get me all the results.
dude i just asked this question thinking that some one would help me find
the solution not for fun.
regarding the thing of compiling i require it to be done,

hai kesavan
 thank you for the help i have done that search and i found the things but
the thing is that it is an old version of the gcc that is still exisiting in
the yum repository.
i require one dependancy apr-1.3.3 for the compiling of httpd 2.3.5  which i
have found out, but the thing is that it requires two more dependancies
uname >=2.6
and rpmlib<=4.4.6 which are  not available in the yum repo..

i better try to do this on my own..
thank you guys for your help



Chaitanya



On Wed, May 5, 2010 at 1:53 AM, Kesavan Rengarajan <[email protected]> wrote:

> 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.