Reinstall php:
yum replace phpxx --replace-with=php54 -y
yum replace php54 --replace-with=phpxx -y
phpxx - You use your php which
I always help such activity as letters php content.
Also today I had a problem with the installation of MySQL but helped:
sh /script/restart-services