課程
/后端開發(fā)
/ThinkPHP
/快速入門ThinkPHP 5.0--基礎(chǔ)篇
用這種模式訪問不出來,httpd.conf文件我也改了
2017-11-23
源自:快速入門ThinkPHP 5.0--基礎(chǔ)篇 2-4
正在回答
ok了但是地址是這個(gè)http://localhost/index.php/index/Index/index
localhost/index.php/Index/index 試試
舉報(bào)
ThinkPHP5已發(fā)布多時(shí),想了解ThinkPHP5的新特性嗎?老司機(jī)帶你馬上出發(fā)~
2 回答老師我做你講的例子的時(shí)候,用pathinfo訪問模塊控制器方法,localhost/index/Index/index地址,測(cè)試那句話就出不來,只是訪問localhost就能出來
2 回答為什么我輸入localhost可以直接訪問,輸入localhost/index/index/index就報(bào)錯(cuò)
2 回答訪問http://localhost:/index/Index/index失敗
3 回答為什么我訪問localhost/tp5/public可以訪問 但是localhost/tp5/public/index/Index/Index就出現(xiàn)404錯(cuò)誤呢
2 回答訪問localhost/index/index/index提示有問題
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)
2017-11-24
ok了但是地址是這個(gè)http://localhost/index.php/index/Index/index
2017-11-24
localhost/index.php/Index/index 試試