Wednesday, November 30, 2011

centos/redhat update php 5.1/5.2 to 5.3

http://iuscommunity.org/Docs/ClientUsageGuide#Configuration
download the files and rpm them, install yum-plugin-replace and replace to the new php package as follows


wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/epel-release-5-4.noarch.rpm
wget http://dl.iuscommunity.org/pub/ius/stable/Redhat/5/x86_64/ius-release-1.0-9.ius.el5.noarch.rpm

rpm -Uvh ius-release*.rpm 
rpm -Uvh epel-release*.rpm


yum install yum-plugin-replace
yum replace php --replace-with php53

No comments: