Enable IUS and EPEL:
[root@example ~]# rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/CentOS/5/x86_64/ius-release-1.0-10.ius.centos5.noarch.rpm [root@example ~]# rpm -Uvh http://dl.iuscommunity.org/pub/ius/stable/CentOS/5/x86_64/epel-release-5-4.noarch.rpm
Install yum replace plugin:
[root@example ~]# yum install yum-plugin-replaceUpgrade php53 to php4:
[root@example ~]# yum replace php53u --replace-with php54Verify php version:
[root@example ~]# php -vRestart httpd:
[root@example ~]# service httpd restart
No comments :
Post a Comment