Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


centos_php5.2_upgrade

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

To enable centos-dev, you need to create /etc/yum.repos.d/CentOS-Test.repo and enter following lines in it:

[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

Then update the php packages:

# yum list updates
# yum list updates php
# yum update php

Finally, move your changes to a temp/hold file so you don't populate more packages than you want from the Testing repository:

# mv /etc/yum.repos.d/CentOS-Test.repo /etc/yum.repos.d/CentOS-Test.repo.HOLD
centos_php5.2_upgrade.txt · Last modified: 2010/02/10 20:01 by juckins