Install php 5.3 on Centos 5.x

php 5.3 is available from remi repo

Enable epel Repo

wget http://download.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm

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

 

Enable Remi Repo

wget http://rpms.famillecollet.com/el5.i386/remi-release-5-7.el5.remi.noarch.rpm

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
Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s