登录

求助TP5.1,访问不到控制器

刚刚下载好的,几乎没有改动,在index控制器的index类里面加了个demo方法,然后访问http://localhost/index/index/demo 发现访问不到,响应是 No input file specified. 然后发现所有的方法都访问不到,百度了半天也没有找到解决的方式

# PHP
Untouched Untouched 2110 天前 850 次浏览

全部回复(2) 我要回复

  • Daniel

    Daniel2018-06-28 09:42:15

    localhost/tp目录/public/index.php/默认的index模块/控制器/方法

    回复
    0
  • 无忌哥哥

    无忌哥哥2018-06-20 09:05:08

    index.php忘记加了吧?

    回复
    0
  • 取消 回复 发送