<div dir="ltr"><div>Sorry I forgot error log.</div><div><br></div><div>CGI outputs 2015/11/29 04:01:07 [error] 2618#0: *6 open() "/home/user/public_html/index.cgi" failed (2: No such file or directory), client: 119.105.136.26, server: localhost, request: "GET /~user/index.cgi HTTP/1.1", host: "<a href="http://host.domain.com">host.domain.com</a>"</div><div><br></div><div>PHP outputs nothing to error.log.</div><div><br></div><div><div>access.log says:</div><div>119.105.136.26 - - [29/Nov/2015:04:01:07 -0500] "GET /~user/index.cgi HTTP/1.1" 404 570 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36"</div><div>119.105.136.26 - - [29/Nov/2015:04:08:23 -0500] "GET /~user/index.php HTTP/1.1" 200 20 "-" "Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko"</div></div><div><br></div><div class="gmail_extra"><div class="gmail_quote">2015-11-29 17:28 GMT+09:00 Anoop Alias <span dir="ltr"><<a href="mailto:anoopalias01@gmail.com" target="_blank">anoopalias01@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div><div dir="ltr"><div><div>What does the nginx error log ( /var/log/nginx/error.log) say when you access a php page?</div></div></div></div>
</div></div>
<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" rel="noreferrer" target="_blank">http://mailman.nginx.org/mailman/listinfo/nginx</a><br></blockquote></div><br></div></div>