LAMP平臺配制使用問題解決方案
作者:efon
我在使用LAMP平臺時,發(fā)現(xiàn)一個使用錯誤,讓我們看看是什么,怎么解決它!
LAMP平臺不給力,又出錯了,讓我們看看到底是哪的問題!
1.錯誤描述:
- “Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName“
解決方法:
1.編輯httd.conf文件
- sudo gedit /etc/apache2/httpd.conf
- 加入一行:ServerName localhost
2.重啟apache2
- sudo /ect/init.d/apache2ctl restart
通過文章的介紹,我們清楚的LAMP哪出錯了,怎么進(jìn)行修改,大家遇到這類問題,就不會犯同樣的錯誤!
【編輯推薦】
責(zé)任編輯:趙鵬
來源:
網(wǎng)絡(luò)轉(zhuǎn)載