<p><br>
On Sep 22, 2011 6:44 PM, "Lintu" <<a href="mailto:nginx-forum@nginx.us">nginx-forum@nginx.us</a>> wrote:<br>
><br>
> I'm running Debian Lenny which has only php 5.2 :(<br>
><br>
> I tried apt-get install php5-fpm and php-fpm, but both don't work. How<br>
> to get it on Debian Lenny? I cant compile php on my own...</p>
<p>Install supervisord. You can then create as many php-cgi processes using supervisord which will be automatically restarted upon killed.</p>
<p>I usually use virtualenv to create dedicated python environment for supervisord.</p>
<p>- extract virtualenv to /opt<br>
- create supervisord environment by issuing<br>
/opt/virtualenv/virtualenv.py /opt/supervisor<br>
- install supervisord<br>
/opt/supervisor/bin/easy_install supervisor<br>
- configure accordingly (check its documentation)</p>