How to install php 5.6 on centos 6/7 working 100%:
12-20-2014, 08:48 PM
(This post was last modified: 12-22-2014, 02:05 AM by DimitarBG.)
Hi,
1: yum install epel*
2: yum update / yum upgrade
3:
4: yum update / yum upgrade
5: yum --enablerepo=remi,remi-php56 update
6: yum --enablerepo=remi,remi-php56 upgrade
7: reboot
8: php -v
working on 100%
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
5: yum --enablerepo=remi,remi-php56 update
6: yum --enablerepo=remi,remi-php56 upgrade
7: reboot
8: php -v
working on 100%