MAC本地服務器搭建

啓動服務器 MacOS 自帶Apatch 服務器。在safari中輸入 http://127.0.0.1/ ,如果頁面出現 it works,則代表訪問成功。 如果訪問失敗,可以在終端輸入: apache:sudo apachectl start(來啓動服務器) 其他命令:  重啓(apachesudo apachectl restart) 關閉(apachesudo apachectl stop
相關文章
相關標籤/搜索