Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


centos_php5.2_upgrade

This is an old revision of the document!


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

# mv /etc/yum.repos.d/CentOS-Test.repo /etc/yum.repos.d/CentOS-Test.repo.HOLD (so you don't get all the other packages)

centos_php5.2_upgrade.1265850031.txt.gz · Last modified: 2010/02/10 20:00 by juckins