How To Upgrade PHP / MySQL

I setup my first Interworx controlled server about 2 months ago. I’m still learning as I go, but so far I’ve been very pleased with my decision to go with Interworx over the alternatives. As I begin to roll out new websites for clients, I quickly realized I needed to upgrade the version of PHP running on my server. Of course, upgrading to PHP 5.4 or higher requires upgrading MySQL to a version higher than 5.1.x. I realize there are several posts on this forum discussing how to do this. The steps I list below worked best for me in my situation. I’m running CentOS 6.7.

rpm -Uvh remi-release-6.rpm

yum --enablerepo=remi-php56,remi update php*
[B]yum --enablerepo=remi install mysql mysql-server