Share on Facebook0Tweet about this on TwitterShare on Google+0Share on Reddit0Digg thisPin on Pinterest0Email this to someone

1. Enable the REMI repo and Upgrade software

yum –-enablerepo=remi install mysql

The reason for using install mysql is that the yum software utility will install/upgrade all dependencies to ensure that all the software pieces work together. It will also upgrade all the related PHP packages (e.g. php-gd, php-devel, php-mbstring, php-cli, etc) from version 5.3 to 5.4

2. Run Mysql Upgrade

mysql_upgrade -u root -p

3. Edit /etc/httpd/conf.d/php.conf

Replace:

<FilesMatch \.php$>
SetHandler application/x-httpd-php
</FilesMatch>

With:

AddHandler php5-script .php

I also had to run the following to get phpmyadmin to work

yum --enablerepo=remi install php-mbstring
If you enjoyed this post, why not leave a comment or consider a Donation as a token of your appreciation. If you need help implementing something you saw on this site or any other project why not Hire Me?
How To: Virtualmin CentOS Upgrade PHP 5.3 to 5.4
Tagged on:                         

Leave a Reply

Your email address will not be published. Required fields are marked *

Loading Facebook Comments ...