Skip to menu

Server Admin

php 7 install

inkwang@gmail.com 2019.02.25 09:36 Views : 122

php 7 install

 

rpm -Uvh http://rpms.remirepo.net/enterprise/remi-release-7.rpm

 

yum -y install yum-utils

 

yum update 

 

yum-config-manager --enable remi-php70

yum-config-manager --enable remi-php71

yum-config-manager --enable remi-php72

 

yum -y install php php-opcache
yum -y install php-gd php-ldap php-odbc php-pear php-xml php-xmlrpc php-mbstring php-soap curl curl-devel php-mysqli

 

systemctl restart httpd.service

Up