Home  >  Q&A  >  body text

Various problems in the initial use of thinkphp: unable to load controller Home, etc.

  1. Prerequisite question: When accessing the site, an error will be reported if index.php is not added. For example: localhost/thinkphp_3.2.3/index.php will output the welcome interface normally, while localhost/thinkphp_3.2.3 will A 403 error occurred. I wonder if the problem in the picture is related to this one;

  2. I am currently confused about these two problems and hope they can be solved.

    捕获1.JPG


青蛙叫青蛙叫2001 days ago1153

reply all(3)I'll reply

  • 秋香姐家的小书童

    秋香姐家的小书童2019-03-31 11:26:34

    Different versions of TP have different configuration methods

    reply
    0
  • 青蛙叫

    青蛙叫2019-03-31 02:33:52

    Solved. It turns out that you cannot add modules in the entry file index.php like this: define('BIND_MODULE','Admin')
    . Just remove this line directly. It is simply poisonous. I followed the introductory video to write it. However, the url path problem of index.php has not been solved yet.


    reply
    0
  • Cancelreply