LAMP中出现的问题
<code> [root@struggling html]# service httpd restart Stopping httpd: [ OK ] Starting httpd: httpd: Could not reliably determine the server's fully qualified omain name, using 192.168.1.110 for ServerName [ OK ] 当启动httpd后出现以上错误解决方法为: [root@struggling local]# vim /etc/httpd/conf/httpd.conf 在文件末尾添加此句,重启即可: ServerName localhost:80 以上localhost是自己的主机名。 </code>