How to Upgrade PHP to 5.4.10 on CentOS 6.3

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

# rpm -Uvh

CentOS 6 and Red Hat (RHEL) 6:

# rpm -Uvh

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

Leave a comment