PHP, Apache, Mongrel cluster

Cliff Wells cliff at
Thu Jan 17 02:41:30 MSK 2008

On Wed, 2008-01-16 at 19:38 +0100, Lance Ditkins wrote:
> I have a server that is running a couple of PHP applications where I
> also want to run a couple of Rails apps via mongrel cluster.  I was
> thinking that I would run Apache on a separate port, say 9000, then use
> nginx as the primary web server and handler of virtual hosts.   The
> nginx virt hosts would point to Apache for all of the PHP requests (as
> opposed to fastcgi PHP).  Has anyone had any experience with this type
> of stack? Bad idea? Good idea?

Why not just use PHP+FCGI?  Apache adds a lot of overhead with little
apparent gain in this configuration.


More information about the nginx mailing list