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
If the above situation occurs, just modify the Apache configuration file:
Add a line to the configuration file apache2.conf
ServerName localhost:80
Then just restart the Apache service
sudo /etc/init.d/apache2 restart
The above is the detailed content of Apache2启动错误Could not reliably determine the server's fully qualified domain name. For more information, please follow other related articles on the PHP Chinese website!