You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Regardless of which webserver we use (as discussed in #1582 - i.e .even if we decide to stick with Apache) we should definitely move to PHP-FPM for PHP apps (i.e. current LAMP/LAPP based apps). I note that (even) the Apache wiki says (my bold italics):
Using proxy_fcgi and php-fpm (for 2.4)
This method is preferred above all other recipes, and is suitable for versions 2.4 and newer. Not only it allows you to discern and diagnose problems related to PHP more quickly, but also you will be able to use a faster and more scalable threaded mpm such as event or worker, which will significantly reduce the memory footprint of your httpd server.
And regarding mod_php (again, my bold italics):
Why you shouldn't use mod_php with the prefork mpm anymore
mod_php is loaded into every httpd process all the time. Even when httpd is serving static/non php content, that memory is in use.
mod_php is not thread safe and forces you to stick with the prefork mpm (multi process, no threads), which is the slowest possible configuration
So moving to PHP-FPM seems like a no brainer.
I'm pinning this to the the v19.0 milestone as a significant change such as this is best done in a point oh release.
FWIW there is a WordPress PR that switches to PHP-FPM. Whilst that should work fine (merge conflict aside), better would be to update common to provide PHP-FPM by default - i.e. in mk/turnkey/lamp.mk and mk/turnkey/lapp.mk and the lamp and lapp plans.
The text was updated successfully, but these errors were encountered:
Regardless of which webserver we use (as discussed in #1582 - i.e .even if we decide to stick with Apache) we should definitely move to PHP-FPM for PHP apps (i.e. current LAMP/LAPP based apps). I note that (even) the Apache wiki says (my bold italics):
And regarding
mod_php
(again, my bold italics):So moving to PHP-FPM seems like a no brainer.
I'm pinning this to the the v19.0 milestone as a significant change such as this is best done in a point oh release.
FWIW there is a WordPress PR that switches to PHP-FPM. Whilst that should work fine (merge conflict aside), better would be to update common to provide PHP-FPM by default - i.e. in
mk/turnkey/lamp.mk
andmk/turnkey/lapp.mk
and thelamp
andlapp
plans.The text was updated successfully, but these errors were encountered: