Вчера один скрипт новой версии написал что ему надо php 5.4. Сделал следущее
yum install centos-release-SCL
yum install php54 php54-php php54-php-gd php54-php-mbstring
yum install php54-php-mysqlnd
mv /etc/httpd/conf.d/php.conf /etc/httpd/conf.d/php53.off
service httpd restart
Теперь получается какая то каша, хочу удалить php 5.4.
# php -v
PHP 5.3.3 (cli) (built: Aug 11 2016 20:33:53)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
[root@teapage ~]# rpm -qa | grep php
php-mysql-5.3.3-48.el6_8.x86_64
php-process-5.3.3-48.el6_8.x86_64
php54-runtime-2.0-1.el6.x86_64
php54-php-xml-5.4.40-4.el6.x86_64
php54-2.0-1.el6.x86_64
php54-php-mysqlnd-5.4.40-4.el6.x86_64
php-mcrypt-5.3.3-5.el6.x86_64
php54-php-common-5.4.40-4.el6.x86_64
php54-php-process-5.4.40-4.el6.x86_64
php54-php-pear-1.9.4-10.sc1.el6.noarch
php54-php-gd-5.4.40-4.el6.x86_64
php54-php-5.4.40-4.el6.x86_64
php54-php-pdo-5.4.40-4.el6.x86_64
php-domxml-php4-php5-1.21.2-1.el6.noarch
php-common-5.3.3-48.el6_8.x86_64
php-cli-5.3.3-48.el6_8.x86_64
php-5.3.3-48.el6_8.x86_64
php-gd-5.3.3-48.el6_8.x86_64
php-xml-5.3.3-48.el6_8.x86_64
php-pdo-5.3.3-48.el6_8.x86_64
php54-php-cli-5.4.40-4.el6.x86_64
php54-php-mbstring-5.4.40-4.el6.x86_64
[root@teapage ~]# yum -y update php*
Loaded plugins: fastestmirror, presto
Setting up Update Process
Loading mirror speeds from cached hostfile
* epel: mirror.imt-systems.com
No Packages marked for Update
# php -v
PHP 5.3.3 (cli) (built: Aug 11 2016 20:33:53)
Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
# cat /var/log/yum.log
Mar 10 00:50:36 Installed: centos-release-scl-rh-2-3.el6.centos.noarch
Mar 10 00:51:06 Installed: scl-utils-20120927-27.el6_6.x86_64
Mar 10 00:51:13 Installed: php54-runtime-2.0-1.el6.x86_64
Mar 10 00:51:13 Installed: php54-php-common-5.4.40-4.el6.x86_64
Mar 10 00:51:14 Installed: php54-php-cli-5.4.40-4.el6.x86_64
Mar 10 00:51:14 Installed: php54-php-process-5.4.40-4.el6.x86_64
Mar 10 00:51:14 Installed: php54-php-xml-5.4.40-4.el6.x86_64
Mar 10 00:51:14 Installed: 1:php54-php-pear-1.9.4-10.sc1.el6.noarch
Mar 10 00:51:14 Installed: t1lib-5.1.2-6.el6_2.1.x86_64
Mar 10 00:51:14 Installed: php54-php-gd-5.4.40-4.el6.x86_64
Mar 10 00:51:15 Installed: php54-2.0-1.el6.x86_64
Mar 10 00:51:15 Installed: php54-php-5.4.40-4.el6.x86_64
Mar 10 00:51:15 Installed: php54-php-mbstring-5.4.40-4.el6.x86_64
Mar 10 00:51:32 Installed: php54-php-pdo-5.4.40-4.el6.x86_64
Mar 10 00:51:32 Installed: php54-php-mysqlnd-5.4.40-4.el6.x86_64
Помогите пожалуйста удалть php 5.4 и не накосячить