magisquare

导航

 

Mac OSX 配置 Apache


启动Apache

  1. 查询Apache版本:sudo apachectl -v

Server version: Apache/2.4.9 (Unix)
Server built: Sep 9 2014 14:48:20

  1. 启动Apache:sudo apachectl start
  2. 打开浏览器,进入http://localhost,可看到如下页面。
  3. 该页面在/Library/WebServer/Documents/下。

参考

posted on 2015-04-18 23:30  magisquare  阅读(146)  评论(0)    收藏  举报