PHP学习_PHP技术_PHP网站建设_PHP程序员专注于PHP技术研究及学习

Adophper » 服务器 » 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

在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

本站使用ThinkPHP框架开发读图网主题,目前托管在阿里云,图片由读图网提供. 蜀ICP备12031064号

Copyright © 2011-2017adophper.com All Rights Reserved.