LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   php upgrade to 5.2.13 (https://www.linuxquestions.org/questions/linux-newbie-8/php-upgrade-to-5-2-13-a-805431/)

hakeem777 05-02-2010 05:35 AM

php upgrade to 5.2.13
 
Hi,

I am running php ver 5.1.6 under centos 5.4 in i386 server. However this server cannot connect to internet and therefore I cannot use yum command to do the update. I have downloaded "php-5.2.13-rpm.tar.bz2" somewhere and I untarred the file. Please let me know what are the steps to do the upgrade. Thanks a lot.

Regards,

smoker 05-02-2010 06:25 AM

Code:

yum localupdate php-5.2.13-rpm
man yum

but that should surely be .rpm not -rpm

knudfl 05-02-2010 06:53 AM

These packages can be used in CentOS 5.x

The CentOS 5.4 update php-5.1.6-24.el5_4.5.i386.rpm is here
http://mirror.centos.org/centos/5.4/updates/i386/RPMS/

php-5.2.11-jason.1.i386.rpm , Jasonlitka repo:
http://www.jasonlitka.com/media/EL5/i386/

php-5.3.2-1.el5.remi.i386, php-5.3.1-1.el5.remi.i386, Remi repo:
http://rpms.famillecollet.com/enterp...oview/php.html

The install command is : # rpm -Uvh <package>.rpm
..


All times are GMT -5. The time now is 03:54 AM.