Debugging and ubuntu
ianevans at digitalhit.com
Fri Nov 22 10:01:20 UTC 2013
On 22/11/2013 4:44 AM, Ian Evans wrote:[snip]
> Scratching my head on this one. I created a file that has just the
> phpinfo(); and looking at the debug log I can see that it appears to hit
> the fastcgi (it returns an x-powered-by header) but returns a blank page:
> Again...a head scratcher since I've been running nginx and php-fpm for
> years. Perhaps it's worked so well that my memory is foggy from the last
> time I did it.
Added fastcgi_param PATH_TRANSLATED $document_root$fastcgi_script_name;
and so far so good.
More information about the nginx