<div dir="ltr">Hello.<div><br></div><div style>Please, try:</div><div><br></div><div style>at "http" context:</div><div style>log_format debug_phpfpm '<span style="color:rgb(0,0,0)">$remote_addr [$time_local] "</span><span style="color:rgb(0,0,0)">$request" $status $document_root $fastcgi_script_name';</span></div>
<div style><br></div><div style>then:</div><div style><br></div><div style>location ~ \.php$ {</div><div style>       access_log /var/log/nginx/debug-fpm.log debug_phpfpm;</div><div style>       fastcgi_pass ...;</div><div style>
}</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2012/12/20 abxccd <span dir="ltr"><<a href="mailto:nginx-forum@nginx.us" target="_blank">nginx-forum@nginx.us</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am currently debugging a problem where PHP-FPM claims that there is "No<br>
input file specified", but the file clearly exists in that location.<br>
<br>
Is it possible to ask nginx to log the value or display the value of<br>
$document_root and $fastcgi_script_name to a file?<br>
<br>
Thanks :)<br>
<br>
Posted at Nginx Forum: <a href="http://forum.nginx.org/read.php?2,234213,234213#msg-234213" target="_blank">http://forum.nginx.org/read.php?2,234213,234213#msg-234213</a><br>
<br>
_______________________________________________<br>
nginx mailing list<br>
<a href="mailto:nginx@nginx.org">nginx@nginx.org</a><br>
<a href="http://mailman.nginx.org/mailman/listinfo/nginx" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">Best Regards,<br><div>Vadim Lazovskiy</div></div>
</div>