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 阿拉丁
A 阿拉丁 2019-11-25 22:11:48
0
5
1518

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

A 阿拉丁
A 阿拉丁

张三疯

reply all(2)
phpcn_u89397

Solve it? I still can't. Running composer require topthink/think-multi-app succeeds, but still fails. Always the controller does not exist.

  • reply Solved, the multi-application mode was not enabled in the tp project just now.
    phpcn_u89397 author 2020-05-21 17:33:43
  • reply Thank you, I also solved it according to your suggestion
    k author 2020-06-21 18:31:49
lk

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

  • reply grateful
    A 阿拉丁 author 2019-12-01 16:48:12
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!