ah00558: apache2: could not reliably determine the server's fully qualified domain name, using 127.0.1.1. set the 'servername' directive globally to suppress this message
出现以上情况只要修改一下Apache的配置文件即可:
在配置文件 apache2.conf里面加入一行
ServerName localhost:80
然后重启Apache服务就可以了
sudo /etc/init.d/apache2 restart
以上就是Apache2启动错误Could not reliably determine the server's fully qualified domain name的详细内容,更多请关注php中文网其它相关文章!
每个人都需要一台速度更快、更稳定的 PC。随着时间的推移,垃圾文件、旧注册表数据和不必要的后台进程会占用资源并降低性能。幸运的是,许多工具可以让 Windows 保持平稳运行。
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号