0

Centos 6.7 (Final) comes with PHP 5.3.3, but the site running on the server needed PHP 5.2.17. Because it is not supported much anymore I manually configured PHP 5.2.17 using this guide: PHP Configuration Guide

I got PHP 5.2.17 configured on the server, yet that didn't fix the errors I was having, so I am trying to revert back to 5.3.3.

php -v returns:

PHP 5.2.17 (cli) (built: Oct 27 2015 13:53:42)

Copyright (c) 1997-2010 The PHP Group

Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies

yum list installed | grep php returns:

atomic-php52-php-eaccelerator.x86_64

php.x86_64 5.3.3-46.el6_6 @updates

php-cli.x86_64 5.3.3-46.el6_6 @updates

php-common.x86_64 5.3.3-46.el6_6 @updates

php-devel.x86_64 5.3.3-46.el6_6 @updates

php-gd.x86_64 5.3.3-46.el6_6 @updates

php-ldap.x86_64 5.3.3-46.el6_6 @updates

php-mbstring.x86_64 5.3.3-46.el6_6 @updates

php-mcrypt.x86_64 5.3.3-4.el6 @epel

php-mssql.x86_64 5.3.3-4.el6 @epel

php-mysql.x86_64 5.3.3-46.el6_6 @updates

php-odbc.x86_64 5.3.3-46.el6_6 @updates

php-pdo.x86_64 5.3.3-46.el6_6 @updates

php-pear.noarch 1:1.9.4-4.el6 @base

php-pgsql.x86_64 5.3.3-46.el6_6 @updates

php-snmp.x86_64 5.3.3-46.el6_6 @updates

5
  • Ok so you're trying to revert, What's your question to us exactly? Where are you getting stuck reverting? What happens if you simply revert the actions you took when you followed the guide you've linked? Commented Oct 29, 2015 at 16:33
  • I guess that's my question, how do I go about reverting it? As I haven't uninstalled php5.3.3, can I just remove the php folder that I configured or do I need to like, unconfigure php5.2.17?
    – Schwifty
    Commented Oct 29, 2015 at 16:41
  • Just undo the changes you made while following the guide... where are you getting stuck exactly? Commented Oct 29, 2015 at 16:50
  • I'm not sure how to undo the changes... How do I reconfigure my php to be 5.3 again?
    – Schwifty
    Commented Oct 29, 2015 at 17:13
  • Okay I got it. I just had to do a yum install of everything again, oddly simple.
    – Schwifty
    Commented Oct 29, 2015 at 17:29

0

You must log in to answer this question.

Browse other questions tagged .