PHP 5.6 on CentOS 7

This is how I managed to have PHP 5.6 on a fresh CentOS 7.

yum install epel-release
rpm -Uvh
yum clean
yum update


yum install php56w php56w-opcache php56w-mcrypt php56w-pdo php56w-mysql php56w-mbstring php56w-gd php56w-dom



yum install ImageMagick php56w-imagick


Restart httpd

service httpd restart

Leave a Reply

Your email address will not be published. Required fields are marked *