課程
/后端開發
/PHP
/PHP入門篇
改完localhost打不開怎么辦?之前還是可以打開的
2015-07-02
源自:PHP入門篇 2-4
正在回答
如果localhost打不開,也需要在httpd-vhosts.conf下添加:<VirtualHost *:80> ? ?DocumentRoot "此處文件路徑"? ? ? ?ServerName localhost</VirtualHost>
重啟服務,就可以了。
試試用127.0.0.1 代替 localhost
Wimble_
舉報
PHP入門教程輕松學習,行業大牛幫您快速掌握PHP編程基礎知識。
2 回答我的localhost怎么打不開了?
1 回答wamp安裝后打開localhost出現not found怎么辦?
2 回答localhost打不開
1 回答localhost打不開
2 回答LOCALHOST打不開
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2015-09-08
如果localhost打不開,也需要在httpd-vhosts.conf下添加:
<VirtualHost *:80> ? ?
DocumentRoot "此處文件路徑"
? ? ? ?ServerName localhost
</VirtualHost>
重啟服務,就可以了。
2015-07-02
試試用127.0.0.1 代替 localhost