Upgrade PHP and MySQL Centos 6.x
The method I found most simple is:
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -ivh remi-release-6.rpm
vim /etc/yum.repos.d/remi.repo (you need to enable the parts you want in this file)
yum -y upgrade php*
yum -y update
reboot
done.