<div dir="ltr">If you&#39;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.&nbsp; It can manage any type of FastCGI process.<br>

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