
本文讲述的是在centos 7版本下,yum快速搭建apache+php+mysql环境。
1、系统更新
yum update
2、安装apache
yum install httpd
3、apache在centos7下管理命令及说明。(注意centos7和以往的版本命令有较大改变)
systemctl start httpd.service #启动apache
systemctl stop httpd.service #停止apache
systemctl restart httpd.service #重启apache
systemctl enable httpd.service #设置apache开机启动
二...