Upgrade php version on centos 6.5

On the current stack i hv
centos 6.5 (64 bit) , PHP 5.3 available.

I’m a linux new bee & need to perform php upgrade to PHP 5.5.

Tried following but that returned error:

wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm

then under remi-php55 section ( in /etc/yum.repos.d/remi.repo)
then yum clean all

yum update -y

This returned error as pasted in following pastebin http://pastebin.com/ehuHibhy

and php did not upgraded , any workaround how to achieve this?

Edit 1:

Enabling the remi repo alongwith remi-php55 resulted in stripping php repo errors.

Updated trace: http://pastebin.com/J8sN5Z9Z

However, PHP Version isn’t yet upgraded.


You enabled the remi-php55 repo, but that depends on the remi repo also being enabled. You need to enable this as well.

Source : Link , Question Author : echoashu , Answer Author : Michael Hampton

Leave a Comment