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