Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


centos_php5.2_upgrade

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
Next revisionBoth sides next revision
centos_php5.2_upgrade [2010/02/10 19:58] – created juckinscentos_php5.2_upgrade [2010/02/10 20:00] juckins
Line 3: Line 3:
 To enable centos-dev, you need to create /etc/yum.repos.d/CentOS-Test.repo and enter following lines in it: To enable centos-dev, you need to create /etc/yum.repos.d/CentOS-Test.repo and enter following lines in it:
  
 +<code>
 [c5-testing] [c5-testing]
 name=CentOS-5 Testing name=CentOS-5 Testing
Line 9: Line 10:
 gpgcheck=1 gpgcheck=1
 gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
 +</code>
  
 +Then update the php packages:
 +
 +<code>
 # yum list updates # yum list updates
 # yum list updates php # yum list updates php
 # yum update php # yum update php
 +</code>
 +
 # 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) # 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)