摘要:Apache :Could not reliably datermine the server's fully qualified domain name, using 127.0.1.1.
今天遇到了一個重啟apache遇到的問題
apache2: Could not reliably datermine the server's fully qualified domain name, using 127.0.1.1. Set the ServerName directive globally to suppress this message
抓到網路解:
http://askubuntu.com/questions/329323/problem-with-restarting-apache2
只要修改
/etc/apache2/apache2.conf
我是最後一行加入
ServerName localhost
再使用,就可以解決問題
sudo /etc/init.d/apache2 restart