Apache問題解決:httpd: Could not reliably determine the server's fully qualified domain name

 

在Linux下

 

啓動時,出現:httpd: Could not reliably determine the server's fully qualified domain name

解決方案:

進入apache的安裝目錄:

linux : /usr/local/apache/conf


用vi打開httpd.conf

將裏面的#ServerName localhost:80註釋去掉即可。

再啓動httpd

然後可以通過瀏覽器訪問http://localhost:80,如果頁面顯示正常顯示測試頁面,即表示apache已安裝並啓動成功。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章