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


1.這個異常是在apache2重啟時出現的

2.解決方式

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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM