Re: how to upgrade php in linux
| From: | Kesavan Rengarajan | Date: | Tue, 04 May 2010 20:23:20 +0000 |
| Subject: | Re: how to upgrade php in linux | ||
| References: | 1 2 3 4 5 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-47136@lists.php.net to get a copy of this message | ||
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@gmail.com
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@gmail.com> 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.bz2where php-5.3.2.tar.bz2 is the filename you downloaded. Check to the file extension whether it is .bz2 If not usetar --helpwhich 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