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
centos_php5.2_upgrade [2010/02/10 19:58]
juckins created
centos_php5.2_upgrade [2010/02/10 20:01] (current)
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
-# mv /etc/yum.repos.d/CentOS-Test.repo /etc/yum.repos.d/CentOS-Test.repo.HOLD (so you don'get all the other packages)+</code> 
 + 
 +Finally, move your changes to a temp/hold file so you don'populate more packages than you want from the Testing repository:
  
 +<code>
 +# mv /etc/yum.repos.d/CentOS-Test.repo /etc/yum.repos.d/CentOS-Test.repo.HOLD
 +</code>
  
centos_php5.2_upgrade.1265849907.txt.gz · Last modified: 2010/02/10 19:58 by juckins