usage of php-fpm in a kvm environment.

hello -

i see that i now have an option using virtualmin to use php-fpm, something that i had never heard of before. any opinions?

this is from the documentation (below). and please note the last line.

What is PHP-FPM?
PHP-FPM (FastCGI Process Manager) is an alternative PHP FastCGI implementation with some additional features useful for sites of any size, especially busier sites.

It was not designed with virtual hosting in mind (large amounts of pools) however it can be adapted for any usage model.


Staff member
It could be faster. For a few sites per server, its good. Issues are PHP FPM needs a socket/startup per customer, and really not 100% stable with apache. Sometimes you need to restart the php-fpm process. The tradeoff is speed. DSO is the fastest still. CGI/suphp are the slowest.