JAVA、PHP、前端、APP、网站开发 - 开发技术学习

文档标签: linux配置apache

linux启动apache提示:Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name.

在linux环境下启动apache出现:Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name这类提示。但是不影响服务! 总觉得有点怪,如何解决Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name,这个问题? 来看一下我现在阿里云修改的配置: #vi /etc/httpd/conf/httpd.conf查找ServerName 将'#ServerName www.example.com:80' 修改成: 'ServerName localhost:80' 问题解决. 最后记得重启apache服务:# /usr/local/apache/bin/apachectl restart 或 service httpd restart...

站点声明:部分内容源自互联网,为传播信息之用,如有侵权,请联系我们删除。

© Copyright 2011-2024 www.kfju.com. All Rights Reserved.
超级字帖 版权所有。蜀ICP备12031064号      川公网安备51162302000234