Upgrade php centos

Remove the existing php version:

yum remove php php-*

Install php53 versions referring to the previously saved list. The names are the same except that instead of the prefix “php” you have “php53″:

yum install php53 php53-cli php53-devel php53-gd php53-mbstring php53-mysql php53-pdo php53-xml php53-xmlrpc php-pear