Upgrade PHP version 5.4 to 5.6 on CentOS 7

php -v rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm yum remove php-common install PHP 5.5 # yum install -y php56w php56w-opcache php56w-xml php56w-mcrypt php56w-gd php56w-devel php56w-mysql php56w-intl php56w-mbstring systemctl restart httpd.service php -v  

1 2 3 16