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