Re: how to upgrade php in linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <dr.virus.india@xxxxxxxxx > 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 <bavithra.r@xxxxxxxxx> 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




--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux