Update PHP 5.1 to PHP 5.4 in CentOS

 

Update Yum repos
For 32 bit CentOS-
For 64 bit CentOS-
rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm
Now it’s time to update our PHP to the latest one
yum –enablerepo=remi update php php-*
/etc/init.d/httpd restart
And that’s it!
You can check your installed PHP version executing:
php -v
Share

Leave a Reply