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

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

解决办法:

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

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

 复制到config/app.php里

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

此时就能显示

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

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

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

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

相关推荐