1.这个异常是在apache2重启时出现的

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.2. Set the 'ServerName' directive globally to suppress this message

2.解决方式

vim /etc/apache2/apache2.conf
#在文件最后添加一行
ServerName localhost:80
#然后保存并重启Apache2
service apache2 restart

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.2. Set the 'ServerName' directive globally to suppress this message

相关文章:

  • 2021-10-20
  • 2021-11-10
  • 2022-02-06
  • 2022-12-23
  • 2021-10-14
  • 2021-08-11
  • 2022-12-23
猜你喜欢
  • 2021-10-05
  • 2022-02-24
  • 2022-12-23
  • 2022-12-23
  • 2022-01-12
  • 2022-12-23
相关资源
相似解决方案