Cybernet Web Design - Web Design & Linux Server Administration
How to install php 5.6 on centos 6/7 - Printable Version

+- Cybernet Web Design - Web Design & Linux Server Administration (https://www.cybernetwebdesign.com)
+-- Forum: Web Design (https://www.cybernetwebdesign.com/Forum-Web-Design)
+--- Forum: Tips and Trick (https://www.cybernetwebdesign.com/Forum-Tips-and-Trick)
+--- Thread: How to install php 5.6 on centos 6/7 (/Thread-How-to-install-php-5-6-on-centos-6-7)



How to install php 5.6 on centos 6/7 - cybernetwebdesign - 01-24-2017

Hi Everyone,

1: yum install epel*
2: yum update / yum upgrade
3: 
Code:
CentOS and Red Hat Enterprise Linux 6.x
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm 
sudo rpm -Uvh remi-release-6*.rpm

CentOS and Red Hat Enterprise Linux 7.x
wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm 
sudo rpm -Uvh remi-release-7*.rpm

4: yum update / yum upgrade
5: yum --enablerepo=remi,remi-php56 update
6: yum --enablerepo=remi,remi-php56 upgrade
7: reboot
8: php -v  Big Grin

working on 100%