!!yum list installed | grep php
cd /etc/yum.repos.d
rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm
yum remove php*
yum clean all && yum clean metadata && yum clean dbcache && yum makecache && yum update
yum install php56w php56w-opcache
yum install php56w-devel.x86_64 php56w-gd.x86_64 php56w-ldap.x86_64 php56w-mbstring.x86_64 php56w-mysql.x86_64 php56w-pdo.x86_64 php56w-pear.noarch php56w-xml.x86_64 php56w-xmlrpc.x86_64