錯誤情況:AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally ...
錯誤情況:
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
出現以上情況只要修改一下Apache的配置文件即可:
在配置文件 apache2.conf裡面加入一行
ServerName localhost:80
然後重啟Apache服務就可以了
sudo /etc/init.d/apache2 restart