1. 打开终端,开启Apache:
//开启apache: sudo apachectl start
//重启apache: sudo apachectl restart
//关闭apache: sudo apachectl stop
地址 http://127.0.0.1/
2. 点击Finder, 然后Command+Shift+G,前往如下路径(mac下Apache服务器的文件路径)
/Library/WebServer/Documents
用后记得关闭,否则消耗内存。
1. 打开终端,开启Apache:
//开启apache: sudo apachectl start
//重启apache: sudo apachectl restart
//关闭apache: sudo apachectl stop
地址 http://127.0.0.1/
2. 点击Finder, 然后Command+Shift+G,前往如下路径(mac下Apache服务器的文件路径)
/Library/WebServer/Documents
用后记得关闭,否则消耗内存。