Centos 7.4+Apache 2.4+PHP7.2 环境搭建

系统环境 Centos 7.4 Apache 安装 yum install httpd 查看版本 httpd -v 或者 cd /etc/httpd httpd -v 启动下apache systemctl start httpd.service 访问下服务器ip就可以看到页面信息了。 PHP 7.2 首先,添加源 yum install epel-release rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm 安