As Jacob mentioned, the CentOS packages repo appears to only have PHP 5.3 available at the moment. But these commands seemed to work for me...

rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
yum remove php-common       # Need to remove this, otherwise it conflicts
yum install php54w
php --version               # Verify version has been upgraded

You can also use php55w or php56w as required.

http://stackoverflow.com/questions/21502656/upgrading-php-on-centos-6-5-final

 

also install:

php54w-mysqlnd

https://webtatic.com/packages/php54/