How to Upgrade PHP to 5.4.10 on CentOS 6.3

Remi Dependency on CentOS 6 and Red Hat (RHEL) 6:

# rpm -Uvh http://download.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm

CentOS 6 and Red Hat (RHEL) 6:

# rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-6.rpm

Update your PHP:

# yum --enablerepo=remi,remi-test install httpd php php-common

CentOS 6.3/6.2/6.1/6/5.8 and Red Hat (RHEL) 6.3/6.2/6.1/6/5.8

Update your modules:

# yum --enablerepo=remi,remi-test install php-pecl-apc php-cli php-pear php-pdo php-mysql php-pgsql php-pecl-mongo php-sqlite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml

http://www.if-not-true-then-false.com/2010/install-apache-php-on-fedora-centos-red-hat-rhel/

Leave a comment