Tag Archives: downgrade php

PHP

How to downgrade PHP version from 5.3.X to 5.2.X on Linux RHEL6.2?

Login as a Root User using “su” command

$yum remove php*

Install the atomic repositories like this

$wget -q -O – http://www.atomicorp.com/installers/atomic | sh
$vi /etc/yum.conf

edit /etc/yum.conf and add this line at the end of the file

exclude=php*5.3*

This is very important for not upgrading those versions of PHP and MySQL

$yum update

and, now you have php 5.2.17 running on your server