centos7 yum安装高版本php、mysql、Apache

1、yum install httpd

2、yum localinstall https://dev.mysql.com/get/mysql57-community-release-el7-11.noarch.rpm

3、yum install mysql-community-server -y

4、yum install epel-release yum-utils

5、yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm

6、yum-config-manager --enable remi-php72

7、yum install httpd php php-gd php-json php-mysql php-curl php-mbstring php-intl php-mcrypt php-imagick php-xml php-zip

原文地址:https://www.cnblogs.com/tiantianhappy/p/11177571.html