LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   how to upgrade php 5.1.X to 5.2.X ? (https://www.linuxquestions.org/questions/linux-server-73/how-to-upgrade-php-5-1-x-to-5-2-x-806900/)

nidhin 05-10-2010 01:47 AM

how to upgrade php 5.1.X to 5.2.X ?
 
Hi,

I need to upgrade php 5.1.X to 5.2.X in CentOS release 5.4. how can i do it using yum.

Thanks in advance

Regards,
Nidhin k j

knudfl 05-10-2010 03:25 AM

http://www.jasonlitka.com/yum-repository/

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

..

Berhanie 05-10-2010 07:46 AM

php-5.2 is also available in the centos testing repo:
Code:

yum --enablerepo=c5-testing list updates php\*

nidhin 05-10-2010 08:45 AM

I fixed issue using this

http://www.freshblurbs.com/install-p...-5-2-using-yum

vi /etc/yum.repos.d/centos-test.repo and enter following lines in it:

Code:

[c5-testing]
name=CentOS-5 Testing
baseurl=http://dev.centos.org/centos/5/testing/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing

You can remove Litka's repo from /etc/yum.repos.d if you do that (Jason, currently, has the same 5.2.6 version of PHP, though).


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