一个新Lnmp环境在调试项目时出现如下报错:

FastCGI sent in stderr:_php

处理:

在php.ini中设置cgi.fix_pathinfo=1(默认为0),重新加载php即可。