Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I keep receiving a blank page whenever I try to access a PHP page on my nginx webserver on a Debian VPS. nginx is working fine; I can access any normal HTML page. PHP-FPM is at least running, as I can start/restart it and when I stop it the PHP pages give me a 502 bad gateway error, which is normal.

But whenever FPM is running, any PHP page is blank without any errors. This leads me to believe there is a configuration error in FPM.

Here is my php-fpm.conf:

share|improve this question
Check the PHP error logs. – Michael Hampton Jan 13 '13 at 20:53
For those coming to this fresh, make sure you look at this question – there are multiple answers that have worked for various people. – William Turrell May 2 '15 at 15:46
up vote 0 down vote accepted

Uhm, okay.

So I had logging and error displaying etc. turned on in php.ini, but the logfile location option was commented out. I uncommented it and changed the value to /var/log/php5.log and then went to check the pages again so it would display a blank page and log something to the file.

Instead, the page loaded fine.

A bit odd but I'll take it. Thanks Michael Hampton for the help.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.