Problems caused by migrating laravel to lumen
高洛峰
高洛峰 2017-05-16 16:49:58
0
1
411

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?

高洛峰
高洛峰

拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...

reply all(1)
洪涛

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

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template