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;  

 

 

posted @ 2019-12-07 15:30  不染不念不畏  阅读(587)  评论(0编辑  收藏  举报