ServerPronto Dedicated Servers
       ServerPronto Home   ServerPronto University     
ServerPronto University  

Support of the day: Downgrade PHP 5.3 to 5.2 on CentOS 6


December 12th, 2011

If a downgrade to PHP 5.2 is needed do the following:

1. The repositories for Centos 6 do not include old packages (another reason to stick with 5.6) so we need to pull all packages needed.
Therefore we access the server, create a folder there (mkdir php) and then enter that folder (cd php)

2. Once inside we need to download all packages needed; One trusted source is this: http://www6.atomicorp.com/channels/atomic/centos/6/x86_64/RPMS/
Once you have opened that on your browser, search for all php- .rpm files that are for your Centos version, there is 32 and 32+64 bits, to know the correct one do a uname –a at the server, if you see it says x86_64 then make sure that all .rpm files you download have that on their names, then

wget them to the server:
Wget http://www6.atomicorp.com/…/RPMS/php-5.2.x.x.x.x.rpm
Once you have downloaded all files that begin with php- proceed to install the following files:
Yum install Automake autoconf libt1*
**make sure to add that ^ asterisk too

3. Once completed then type: rpm –oldpackage -Uvh php*

4. When done, type php –v to check the version, it should say 5.2 – Done



Entry Filed under: Support of the day

 

Leave a Comment

hidden
Comment:

Some HTML allowed:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Trackback this post  |  Subscribe to the comments via RSS Feed

 
Infolink ServerPronto Infolink Review Our Guarantee Why Choose ServerPronto? Why Choose ServerPronto? Review Our Guarantee Home About Why Choose ServerPronto? Compare Packages Frequently Asked Questions (FAQ) Order Now!