MAC本地服务器搭建

启动服务器 MacOS 自带Apatch 服务器。在safari中输入 http://127.0.0.1/ ,如果页面出现 it works,则代表访问成功。 如果访问失败,可以在终端输入: apache:sudo apachectl start(来启动服务器) 其他命令:  重启(apachesudo apachectl restart) 关闭(apachesudo apachectl stop
相关文章
相关标签/搜索