php-fastcgi always exits.. resulting in 502 bad gateway

Edho P Arief edho at
Thu Sep 22 12:22:52 UTC 2011

On Thu, Sep 22, 2011 at 7:08 PM, Lintu <nginx-forum at> wrote:
> Hey, thanks for the tip with supervisord.
> I found a site
> (
> saying its easy to set up with:
>>apt-get install python-setuptools
>>easy_install supervisor
> And actually it was. No error on that. But then the site says I should
> add something to /etc/supervisord.conf, but there is no file like that?
> I created it with the content I got told to, but well, nothing happens
> now... Or is everything fine now? Is everything automated about
> supervisord?

run supervisorctl or just use ps check if the php-cgi processes are
running. Set nginx fastcgi_pass to whatever path you set in
supervisord for php-cgi.

O< ascii ribbon campaign - stop html mail -

More information about the nginx mailing list