NGINX and php-fpm -> HTML runs, php gives 502

Francis Daly francis at
Wed Oct 23 14:38:29 UTC 2013

On Wed, Oct 23, 2013 at 10:13:36AM -0400, timofrenzel wrote:

Hi there,

> I call on the index.html , everything works .
> I call on the index.php , I get back only n 502.

When you do

  curl -i http://devubuntu.loc/index.php

what response do you get, and what do the nginx log files say happened?

Copy-paste is best.

> fastcgi_pass unix:/var/run/php5-fpm.sock;

Is there a fastcgi server listening on that socket? What does its log
files say happened?

Francis Daly        francis at

More information about the nginx mailing list