Yes I get the error, "502 Bad Gateway", when I request a PHP page. I checked on my terminal and php5-fpm is running. I also use a php script in the nginx config to run webstats which is also running. What information should I post to help solve this problem????? Posted at Nginx Forum: http://forum.nginx.org/read.php?2,220816,220822#msg-220822