• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

php-fpm with apache2

dbembibre

Active member
#1
Im playing with a new server for our frontend cluster.
All the frontend servers run apache 2 with php as apache module in prefork model.
I hear good things about running php-fpm in apache,and i want to try, anyone can tell me if feel a real diference in using Apache Worker and PHP-FPM over Prefork and mod_php ?
 

Adam Howard

Well-known member
#2
Im playing with a new server for our frontend cluster.
All the frontend servers run apache 2 with php as apache module in prefork model.
I hear good things about running php-fpm in apache,and i want to try, anyone can tell me if feel a real diference in using Apache Worker and PHP-FPM over Prefork and mod_php ?
YES.

php-FPM will indeed add a difference in performance. And in my opinion is worth the switch.

In Debian Linux it's very easy to switch

PHP:
aptitude install php-fpm
From there it will both replace and configure the needed settings.
 
Last edited: