How to install php7 on centos 6

install php7 on centos 6

How to install php7 on centos 6, I'm use remi repo to install remi-php70. I'm running commands as root account.
To install php7 
yum install wget yum-utils
wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
rpm -Uvh remi-release-6.rpm
yum-config-manager --enable remi-php70
yum install php --enablerepo=remi-php70
To check for available repositories
yum repolist
For example: To install php7 for nginx ( Due to, nginx use php-fpm and php-mysql)
yum install php-fpm php-mysql --enablerepo=remi-php70
Thanks for reading! How to install php7 on centos 6

Comments

Popular posts from this blog

zimbra some services are not running [Solve problem]

Bash script list all IP addresses connected to Server