nginx+php(FastCGI) 404 Error /etc/nginx/fastcgi_params 添加一行即可 fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;