Welcome! Log In Create A New Profile

Advanced

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

Edho P Arief
September 22, 2011 07:56AM
On Sep 22, 2011 6:44 PM, "Lintu" <nginx-forum@nginx.us> wrote:
>
> I'm running Debian Lenny which has only php 5.2 :(
>
> I tried apt-get install php5-fpm and php-fpm, but both don't work. How
> to get it on Debian Lenny? I cant compile php on my own...

Install supervisord. You can then create as many php-cgi processes using
supervisord which will be automatically restarted upon killed.

I usually use virtualenv to create dedicated python environment for
supervisord.

- extract virtualenv to /opt
- create supervisord environment by issuing
/opt/virtualenv/virtualenv.py /opt/supervisor
- install supervisord
/opt/supervisor/bin/easy_install supervisor
- configure accordingly (check its documentation)
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

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

Lintu September 22, 2011 06:44AM

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

Reinis Rozitis September 22, 2011 07:30AM

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

Lintu September 22, 2011 07:44AM

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

Edho P Arief September 22, 2011 07:56AM

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

Lintu September 22, 2011 08:08AM

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

Edho P Arief September 22, 2011 08:24AM

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

Edho P Arief September 22, 2011 08:26AM

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

Reinis Rozitis September 22, 2011 08:46AM

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

Lintu September 22, 2011 01:47PM

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

Reinis Rozitis September 22, 2011 02:20PM

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

Lintu September 22, 2011 04:50PM

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

Lintu September 22, 2011 05:03PM

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

jdm September 22, 2011 08:12AM

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

António P. P. Almeida September 22, 2011 08:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 307
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready