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;
I am currently confused about these two problems and hope they can be solved.
Different versions of TP have different configuration methods
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.