linux下报错Fatal error: Uncaught Error: Call to a member function make() on integer in

如题

Fatal error: Uncaught Error: Call to a member function make() on integer in /public/index.php:51 Stack trace: #0 {main} thrown in /public/index.php on line 51。
在本地跑的时候没事 放到Linux的服务器就不行了 。
报错报代码:
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
求大神!很急
已邀请:

要回复问题请先登录注册