Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

There are plenty of old benchmarks on Apache mod_php vs nginx with php-fpm

However, with version 2.4, Apache can use php-fpm. Are there any sensible benchmarks comparing mod_php with php-fpm (both on Apache 2.4.x)?

share|improve this question
    
While mod_proxy_fcgi is new, mod_fastcgi lets you use PHP-FPM with versions older than 2.4. Not sure how their performance compares, though. –  Shane Madden Sep 12 '13 at 1:29

1 Answer 1

I'm working for a hosting/cloud company and we routinely use Apache 2.2 + mod_fastcgi + php-fpm (socket listen).

It uses a little more memory and CPU, but it's much more faster than mod_cgi/mod_php/mod_suphp.

If you can choose, go with mod_proxy_fcgi + php-fpm (2.4) or mod_fastcgi + php-fpm

share|improve this answer
    
Thanks! That is helpful. Would like to see some hard, objective measures as well. –  OC2PS Nov 5 '13 at 4:26

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.