apache。
//开启
sudo apachectl start
//关闭
sudo apachectl stop
//重启
sudo apachectl restart
brew安装的apache。
brew services list # 查看httpd服务
brew services start httpd # 启动
brew services restart httpd # 重启服务
brew services stop httpd # 停止服务
apache。
//开启
sudo apachectl start
//关闭
sudo apachectl stop
//重启
sudo apachectl restart
brew安装的apache。
brew services list # 查看httpd服务
brew services start httpd # 启动
brew services restart httpd # 重启服务
brew services stop httpd # 停止服务