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