使用命令行操作macbook自带的apache服务器

Posted 西红柿里没有番茄

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了使用命令行操作macbook自带的apache服务器相关的知识,希望对你有一定的参考价值。

 

Mac默认安装了Apache的,因此只需要打开Terminal:

启动apache

sudo apachectl start    

重启apache

sudo apachectl restart

停止apache

sudo apachectl stop

以上是关于使用命令行操作macbook自带的apache服务器的主要内容,如果未能解决你的问题,请参考以下文章