search

Home  >  Q&A  >  body text

Problems caused by migrating laravel to lumen

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?

高洛峰高洛峰2807 days ago453

reply all(1)I'll reply

  • PHP中文网

    PHP中文网2017-05-16 16:51:58

    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

    reply
    0
  • Cancelreply