lnmp 中的laravel出现白屏的处理办法

find / |grep fastcgi_params

其实是找fastcgi_params这个文件编辑

如果在知道目录的情况下也可以直接

vi /usr/local/nginx/conf/fastcgi_params

然后在文件顶部添加下面两句!

fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_script_name;

猜你喜欢

转载自www.cnblogs.com/firebirdweb/p/10814990.html