Loading...
Real Time Concepts

How to Install php56 in Linux

TO Install php below are the prerequisites

For centos 7 install below remi and repo packages
——–
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm

For centos 6 install below remi and repo packages
——–
wget http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm
rpm -iUvh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -Uvh epel-release-6-8.noarch.rpm remi-release-6.rpm

yum-config-manager –enable remi-php54
yum-config-manager –enable remi-php55
yum-config-manager –enable remi-php56

yum install php php-mcrypt php-cli php-gd php-curl php-mysql php-ldap php-zip php-fileinfo

php –version

Leave a Reply

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