PHP FPM vs MOD PHP



  • so whats the latest story on those, is it still valid to use PHP- FPM ? i have heard many people telling me there are no more performance improvements by using FPM with latest PHP 7.2.

    whats your thoughts about this ?

    Also have you ever deployed PHP FPM on separate nodes ? and connected it to apache using TCP socket ?



  • @Emad-R I use it with Nginx all the time, I use it with Apache too, but I couldn't tell you about performance difference because I never bothered to benchmark it.
    As for separation, I do use it in separate docker containers, I think all my instances connect to Nginx. The only place I use it with Apache is on the same VPS, but I see no reason you couldn't separate them and use TCP to connect.


Log in to reply