Quantcast
Channel: linuxadmin: Expanding Linux SysAdmin knowledge
Viewing all articles
Browse latest Browse all 17852

PHP-FPM vs mod_php - in production

$
0
0

Anyone running PHP-FPM in production with Apache 2.2? PHP-FPM is considered "stable" as of PHP 5.4. I've got it running on 1 production box now, but have no benchmarks yet.

If you have any sites that love to do consistent refreshes, it seems you've got to up the "pm.max_children" and of course have "pm.max_spare_servers" set fairly high. If running regular mod_php, these sites usually just put a lot of Apache children in TIME_WAIT state.

Google searching for comparisons between the two is usually done on Nginx, would love to see some more comparisons for Apache+PHP-FPM

submitted by deviantryan
[link] [12 comments]

Viewing all articles
Browse latest Browse all 17852