首先参考博客
新手如何在mac上配置Apache服务器_wanxue0804的博客-优快云博客_apache mac
一路配置,启动apache,
sudo apachectl start
出现如下警报:
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using hailingdeiMac.local. Set the 'ServerName' directive globally to suppress this message
但不影响html 文件的打开
接着参考了此文章
解决httpd: Could not reliably determine the server's fully qualified domain name - 52linux - 博客园
vi /etc/httpd/conf/httpd.conf 加入一句 ServerName&nb

本文介绍了在Mac上配置Apache服务器时遇到的常见问题,包括启动警告和.js文件权限问题。通过设置ServerName和调整文件权限,成功解决了问题。
最低0.47元/天 解锁文章
1952

被折叠的 条评论
为什么被折叠?



