//开启apache:
sudo apachectl start
//重启apache:
sudo apachectl restart
//关闭apache:
sudo apachectl stop
服务器根目录路径:/Library/WebServer/Documents
地址:http://127.0.0.1/timg
PS:使用过后,记得关闭服务器,要不然会一直消耗你电脑内存,后果你懂的


//开启apache:
sudo apachectl start
//重启apache:
sudo apachectl restart
//关闭apache:
sudo apachectl stop
服务器根目录路径:/Library/WebServer/Documents
地址:http://127.0.0.1/timg
PS:使用过后,记得关闭服务器,要不然会一直消耗你电脑内存,后果你懂的
本文标题:mac如何开启http服务
本文链接:https://www.haomeiwen.com/subject/zjwroqtx.html
网友评论