Install php 5.3 on Centos 5.x

php 5.3 is available from remi repo

Enable epel Repo


rpm -Uvh epel-release-5-4.noarch.rpm


Enable Remi Repo


rpm -Uvh remi-release-5-7.el5.remi.noarch.rpm


Update or Install php

yum --enablerepo=remi install php-common
  yum --enablerepo=remi install php
  yum install gd gd-devel
  yum --enablerepo=remi install php-mcrypt php-xml php-xml php-devel php-imap php-soap php-mbstring php-mysql
  yum --enablerepo=remi install php-mhash php-simplexml php-dom php-gd php-pear php-pecl-imagick php-magickwand

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s