Successfully migrated laravel to lumen in the local environment, tested it, and there were no problems
Upload the code to the server, and be damned~~The following screenshot appears and an error message appears. After looking at the .env configuration file, the connection account and password are correct. Why is this?
The problem is solved. You need to go to the bootstrap directory and modify the app.php file to remove
$app->withEloquent();
I found that many of the original laravel configurations were modified in this app.php. You can take a closer look at this file