laravel5.2上传到Linux服务器出现Whoops, looks like something went wrong.

Posted 不染不念不畏

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了laravel5.2上传到Linux服务器出现Whoops, looks like something went wrong.相关的知识,希望对你有一定的参考价值。

laravel5.2上传到Linux服务器出现Whoops, looks like something went wrong.

解决办法:

把根目录下 .env文件里的APP_KEY的值

 

 复制到config/app.php

 

此时就能显示

 

 如果进入到其他页面时显示no found,请设置伪静态

 

 location / {  
    try_files $uri $uri/ /index.php$is_args$query_string;  

 

 

以上是关于laravel5.2上传到Linux服务器出现Whoops, looks like something went wrong.的主要内容,如果未能解决你的问题,请参考以下文章