View Single Post
  #2  
Old 8th November 2011, 09:40
nbhadauria nbhadauria is offline
Member
 
Join Date: Aug 2010
Location: New Delhi, India
Posts: 79
Thanks: 1
Thanked 13 Times in 13 Posts
Send a message via Skype™ to nbhadauria
Default

You can use yum ..

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.3.0 is available, remove new one:

yum remove php

and install an old one:

yum --allow-downgrade install php-5.3.0 php-cli-5.3.0 php-common-5.3.0
Reply With Quote