LAMP平台配制使用问题解决方案


LAMP平台不给力,又出错了,让我们看看到底是哪的问题!

1.错误描述:

  1. “Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName“  
  2.  

解决方法:

1.编辑httd.conf文件

  1. sudo gedit /etc/apache2/httpd.conf  
  2.  
  3. 加入一行:ServerName localhost  
  4.  

2.重启apache2

  1. sudo /ect/init.d/apache2ctl restart  

通过文章的介绍,我们清楚的LAMP哪出错了,怎么进行修改,大家遇到这类问题,就不会犯同样的错误!

相关内容