課程
/后端開發
/ThinkPHP
/快速入門ThinkPHP 5.0--基礎篇
localhost/index/index/common訪問失敗
2017-09-23
源自:快速入門ThinkPHP 5.0--基礎篇 2-4
正在回答
有沒配置路由?
class 控制器名? ? ? function 方法名?
ip/項目地址/public/index.php/模塊名/控制器名/方法名
commom方法寫到common模塊了
你給截圖下,看下報錯頁面
主要是看你的localhost是直接配置到public下面嗎?
舉報
ThinkPHP5已發布多時,想了解ThinkPHP5的新特性嗎?老司機帶你馬上出發~
2 回答訪問http://localhost:/index/Index/index失敗
1 回答localhost/web/public/admin/index/index頁面訪問失敗
2 回答訪問localhost/index/index/index提示有問題
1 回答為什么http://localhost/tp5/public/admin/index/common出來是this is common Index index
3 回答訪問localhost/index/index/index出現No input file specified.問題在哪里?
Copyright ? 2025 imooc.com All Rights Reserved | 京ICP備12003892號-11 京公網安備11010802030151號
購課補貼聯系客服咨詢優惠詳情
慕課網APP您的移動學習伙伴
掃描二維碼關注慕課網微信公眾號
2017-09-23
有沒配置路由?
2018-08-23
class 控制器名? ? ? function 方法名?
ip/項目地址/public/index.php/模塊名/控制器名/方法名
2017-09-24
commom方法寫到common模塊了
2017-09-23
你給截圖下,看下報錯頁面
2017-09-23
主要是看你的localhost是直接配置到public下面嗎?