(fast)cgi and nginx - there has to be a better way

Rob Schultz rschultz7 at gmail.com
Wed Sep 24 03:10:29 MSD 2008


i second mike's notion. using php-fpm is alot easier to manage fastcgi php.
I just wish that it would get incorporated into main php release so that it
would have good fastcgi support out of the box.

On Tue, Sep 23, 2008 at 5:38 PM, mike <mike503 at gmail.com> wrote:

> setting up fcgi is simple - both in nginx and php. it's a location
> block and a few lines of fastcgi_stuff and you're good to go.
>
> check out php-fpm for how to make running php fcgi engines a snap.
>
> i'd write more but have to run right now. the wiki has a ton of examples.
>
> On Tue, Sep 23, 2008 at 3:33 PM, Jonathan Vanasco <nginx at 2xlp.com> wrote:
> > I've spent the better part of the day combing through docs and the
> mailing
> > list trying to get MovableType working with nginx
> >
> > it seems the best option is proxying to lighttpd - everything else seems
> to
> > involve hacks and copy/pasting scripts off the wiki
> >
> > For nginx adoption sake, there really has to be a better way.
> >
> > running php via fcgi is a PITA, and most ways involve using lighttpd's
> fcgi
> > manager
> > trying to get a fcgi compatible perl app ( like Movable Type ) or a
> python
> > app is 10x more of a hassle
> >
> > looking at the history of cgi discussions, people often reply with stuff
> > like "i hate perl" or "proxying to a rails/python app is just easier".
> >  those aren't really answers to problems or trying to use existing
> software.
> >
> > not supporting cgi makes sense, but the barrier to using fcgi with nginx
> is
> > 'really fucking high' right now.
> >
> > nginx is a great system - i hate that I need to proxy to something
> inferior
> > like lighty for ease of administration and setup
> >
> >
> >
> > // Jonathan Vanasco
> >
> > w. http://findmeon.com/user/jvanasco
> > e. jonathan at findmeon.com
> >
> > | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> -
> > - - - - - - - - - -
> > | Founder/CEO
> > | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> -
> > - - - - - - - - - -
> > | FindMeOn.com - The cure for Multiple Web Personality Disorder
> > | Privacy Minded Web Identity Management and 3D Social Networking
> > | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> -
> > - - - - - - - - - -
> >
> >
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx/attachments/20080923/9b063e7b/attachment.html>


More information about the nginx mailing list