replyYou haven't answered yet, so let me find out. . . .
It took more than two hours to find it. Put the three files .htaccess, index.php, and favicon.ico at the public level, and change .htaccess to require __DIR__.'/bootstrap/autoload.php';$app = require_once __DIR__.'/bootstrap/start.php ';Enough
You can first learn about thinkphp5. The entry file of thinkphp5 is placed in the public directory