<div dir="ltr">If you're running something other than PHP, supervisord (<a href="http://supervisord.org/" target="_blank">http://supervisord.org/</a>) is a great language-neutral process manager. It can manage any type of FastCGI process.<br>
<br>Unfortunately, the FCGI support hasn't been released yet but it's well-tested in the trunk. <a href="http://svn.supervisord.org/" target="_blank">http://svn.supervisord.org/</a><br><br>Here's a sample config<br>
<br> [<span class="nfakPe">fcgi</span>-<span class="nfakPe">program</span>:foo]<br> socket=tcp://<a href="http://127.0.0.1:4000/" target="_blank">127.0.0.1:4000</a><br> process_name = %(program_name)s_%(process_num)s<br>
<div dir="ltr">
command = /path/to/foo.fcgi<br> numprocs = 5</div><br><br><div class="gmail_quote">On Tue, Sep 23, 2008 at 3:38 PM, mike <span dir="ltr"><<a href="mailto:mike503@gmail.com" target="_blank">mike503@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">setting up fcgi is simple - both in nginx and php. it's a location<br>
block and a few lines of fastcgi_stuff and you're good to go.<br>
<br>
check out php-fpm for how to make running php fcgi engines a snap.<br>
<br>
i'd write more but have to run right now. the wiki has a ton of examples.<br>
<div><div></div><div><br>
On Tue, Sep 23, 2008 at 3:33 PM, Jonathan Vanasco <<a href="mailto:nginx@2xlp.com" target="_blank">nginx@2xlp.com</a>> wrote:<br>
> I've spent the better part of the day combing through docs and the mailing<br>
> list trying to get MovableType working with nginx<br>
><br>
> it seems the best option is proxying to lighttpd - everything else seems to<br>
> involve hacks and copy/pasting scripts off the wiki<br>
><br>
> For nginx adoption sake, there really has to be a better way.<br>
><br>
> running php via fcgi is a PITA, and most ways involve using lighttpd's fcgi<br>
> manager<br>
> trying to get a fcgi compatible perl app ( like Movable Type ) or a python<br>
> app is 10x more of a hassle<br>
><br>
> looking at the history of cgi discussions, people often reply with stuff<br>
> like "i hate perl" or "proxying to a rails/python app is just easier".<br>
> those aren't really answers to problems or trying to use existing software.<br>
><br>
> not supporting cgi makes sense, but the barrier to using fcgi with nginx is<br>
> 'really fucking high' right now.<br>
><br>
> nginx is a great system - i hate that I need to proxy to something inferior<br>
> like lighty for ease of administration and setup<br>
><br>
><br>
><br>
> // Jonathan Vanasco<br>
><br>
> w. <a href="http://findmeon.com/user/jvanasco" target="_blank">http://findmeon.com/user/jvanasco</a><br>
> e. <a href="mailto:jonathan@findmeon.com" target="_blank">jonathan@findmeon.com</a><br>
><br>
> | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br>
> - - - - - - - - - -<br>
> | Founder/CEO<br>
> | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br>
> - - - - - - - - - -<br>
> | FindMeOn.com - The cure for Multiple Web Personality Disorder<br>
> | Privacy Minded Web Identity Management and 3D Social Networking<br>
> | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<br>
> - - - - - - - - - -<br>
><br>
><br>
><br>
<br>
</div></div></blockquote></div><br></div>