Apache LAMP Red hat linux Web Hosting

Update PHP 5.1 to 5.5 on Redhat / CentOS 5.5

Add EPEL repo

rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-5.noarch.rpm
rpm -Uvh http://mirror.webtatic.com/yum/el5/latest.rpm

Remove Previous version

yum remove php*

Install PHP 5.5

yum install php55w-fpm php55w-opcache
yum install php55w-xml php55w-gd php55w-process php55w-mysql php55w-mbstring php55w-pear php55w-common php55w-imap php55w php55w-mcrypt php55w-pdo php55w-cli php55w-devel

Leave a Reply

Your email address will not be published. Required fields are marked *