Fast CGI (spawn-fcgi / php-cgi) crashes/dies/hangs

Michael Shadle mike503 at
Wed Dec 9 21:14:51 MSK 2009

On Wed, Dec 9, 2009 at 7:51 AM, Akins, Brian <Brian.Akins at> wrote:
> On 12/9/09 7:39 AM, "Michael Shadle" <mike503 at> wrote:
>> something like Apache+mod_php vs. nginx+PHP-FPM
> To be fair, you should test Apache+fastcgi.  It's the "official" way to run
> it, although everyone stills seems to use mod_php.
> I have no doubt that nginx still wins, but the Apache folks have been
> pushing fastcgi for several years, it just hasn't got traction for some
> reason.

That's funny, considering we were just told that PHP+FCGI was the most
unreliable setup, to have someone saying Apache was pushing it as
well. :)

I'm not interested in this benchmark (nginx and PHP-FPM are stable and
run as slim as I think they can for me) but it would be some good
tangible information to be able to reference.

It probably has no traction because of legacy habits. Also, I think I
tried FastCGI w/ Apache once and it was a little bit odd, might have
been trying to do suexec+FastCGI for PHP though and that complicates
things a bit. Tried mod_fastcgi and mod_fcgid...

More information about the nginx mailing list