RSS

Downgrading php 5.3 to php 5.2 using yum on centos 5.4

19 Jan

First you need to allow downgrade for yum and for that you need to install yum-allowdowngrad utility program, but its very easy to install, Just issue the following command:

#yum install yum-allowdowngrade

Now add a line to your  yum.conf file, its located in /etc/yum.conf
#vi /etc/yum.conf
showdupesfromrepos=1

After that list all php packages:

yum list php

If php 5.2.8 is available, remove new one:

yum remove php

and install an old one:

yum –allow-downgrade install php-5.2.8

You are done.

Advertisement
 
Leave a comment

Posted by on January 19, 2010 in Linux Administration

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.