运行报500错误

/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
$kernel = $app->make('Illuminate\Contracts\Http\Kernel');

执行到这里就报500错误了!!!有没有遇到这样的问题的??求助
已邀请:

Usual

赞同来自:

500是服务器内部错误,目前来看跟这段代码并没有什么关系。
建议先检查下服务器配置。

ykl1001

赞同来自:

我也遇到了同样的问题,找了两天错误,原来是因为根目录下storage没有写权限,运行chmod -R 777 storage就正常显示了

要回复问题请先登录注册