Huu Phan | Blog Linux operating system | Linux operating system -Blog Huu Phan | www.huuphan.com
huuphan.com. Powered by Blogger.

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

post new :

Huu Phan | Blog Linux operating system | Huu Phan ~ Zimbra Mail Server,linux,bash script,centos,linux command | www.huuphan.com