我正在尝试重新启动 Apache 2:
sudo service apache2 restart
Run Code Online (Sandbox Code Playgroud)
但得到以下错误:
* Restarting web server apache2
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
Run Code Online (Sandbox Code Playgroud)
我试图改变
sudo gedit /etc/apache2/httpd.conf
Run Code Online (Sandbox Code Playgroud)
出现一个空白文件,我添加了这个:
ServerName localhost
Run Code Online (Sandbox Code Playgroud)
但是那个错误并没有消失!
我该如何解决这个问题?
我昨天升级到 ubuntu 14.04。但是在重新启动 PC 后,此消息在 ubuntu 加载屏幕后继续出现在黑屏中,并且不会消失并且 ubuntu 无法启动我对此无能为力。我该怎么办?我尝试从其他终端登录并在此处执行 asm但仍然没有
安装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)