課程
/后端開發(fā)
/ThinkPHP
/快速入門ThinkPHP 5.0--基礎(chǔ)篇
直接輸入localhost可正常訪問,輸入localhost/index/index/index報錯No input file specified.
2020-08-16
源自:快速入門ThinkPHP 5.0--基礎(chǔ)篇 2-4
正在回答
需要設(shè)置你的站點(diǎn)偽靜態(tài),打開public-.htaccess
把:RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
改成:RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
就可以了
油包排骨
你看看你域名的入口文件是不是public下index.php
舉報
ThinkPHP5已發(fā)布多時,想了解ThinkPHP5的新特性嗎?老司機(jī)帶你馬上出發(fā)~
1 回答直接輸入localhost可正常訪問,輸入localhost/index/index/index報錯not found ····等相關(guān)問題
2 回答為什么我輸入localhost可以直接訪問,輸入localhost/index/index/index就報錯
2 回答為什么我訪問localhost/index/index/index 顯示No input file specified.
2 回答輸入localhost/index會出No input file specified.錯誤,怎么解決
3 回答訪問localhost/index/index/index出現(xiàn)No input file specified.問題在哪里?
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網(wǎng)安備11010802030151號
購課補(bǔ)貼聯(lián)系客服咨詢優(yōu)惠詳情
慕課網(wǎng)APP您的移動學(xué)習(xí)伙伴
掃描二維碼關(guān)注慕課網(wǎng)微信公眾號
2020-10-28
需要設(shè)置你的站點(diǎn)偽靜態(tài),打開public-.htaccess
把:RewriteRule ^(.*)$ index.php/$1 [QSA,PT,L]
改成:RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
就可以了
2020-08-18
你看看你域名的入口文件是不是public下index.php