PHP result in blank page and 404 in nginx

If I go to a .php file, I got a blank page, if I add a query string ?something=something I got a 404.

I tried to search this error with the script I was trying to use on Google to no avail… and then I added this line

error_log /var/log/nginx/site.name-error.log error;

Who would have thought? Missing the error log result in a blank page!

Leave a Reply

Your email address will not be published. Required fields are marked *