且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

/bootstrap/start.php中的Laravel错误:找不到\ Illuminate \ Foundation \ Application

更新时间:2023-11-15 20:41:10

/bootstrap/start.php是在composer install之后通过运行Laravel的php artisan optimize创建的.在Laravel升级过程中,我遇到了很多问题,但是删除/bootstrap/start.phpcomposer.lockvendor目录并重新运行composer install应该可以解决此问题.

/bootstrap/start.php is created after composer install by running Laravel's php artisan optimize. I've had a lot of issues on this during upgrades of Laravel, but removing /bootstrap/start.php, composer.lock, and the vendor directory and re-running composer install should fix this issue.