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

posted on 2019-07-12 17:48  狄成  阅读(1262)  评论(0编辑  收藏  举报