Create a new index folder, and then put the controller and file index.php into the index folder. Modify the htaccess file for extended access. But when accessing, it prompts a page error! Please try again later. The PHP version is normal. Please give me some answers. Thank you.
A 阿拉丁
2019-11-25 22:11:48
Create a new index folder, and then put the controller and file index.php into the index folder. Modify the htaccess file for extended access. But when accessing, it prompts a page error! Please try again later. The PHP version is normal, please give me the answer, thank you
Solve it? I still can't. Running composer require topthink/think-multi-app succeeds, but still fails. Always the controller does not exist.
I also studied for a long time before getting it right. First of all, if a 404 error is reported, nginx needs to support pathinfo mode. Then you also need thinkphp to enable multi-application mode composer require topthink/think-multi-app so as to meet the operation of the video tutorial