当我使用命令重新启动我的 Apache 服务器时
sudo /etc/init.d/apache2 restart
Run Code Online (Sandbox Code Playgroud)
我收到以下错误:
Restarting web server apache2
apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
... waiting apache2:
Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName
Run Code Online (Sandbox Code Playgroud)
服务器是否使用 127.0.1.1 而不是 127.0.0.1?是什么导致了这个错误?
安装Xdebug 后,我尝试重新启动或重新加载 Apache,但收到以下消息:
$ sudo /etc/init.d/apache2 reload
* Reloading web server config apache2
apache2: Could not reliably determine the server's fully qualified domain
name, using 127.0.0.1 for ServerName
Run Code Online (Sandbox Code Playgroud)