Apache - Worker MPM + PHP-FPM
Posted: Mon Jul 20, 2015 9:14 pm
Hello,
For sites with many concurrent requests, i ready everywhere that its better to use worker or event MPM with PHP-FPM. Prefork with mod_php is compatible with everything(i think thats why Vesta uses it), but does not use threads, and that way its slower for concurrent requests.
To enable it, i just need to go to /etc/sysconfig/httpd and uncomment the worker part and install php-fpm? Do i need to have special care because of some config that Vesta have done?
Ps: I will try this first on a dev environment.
Regards
For sites with many concurrent requests, i ready everywhere that its better to use worker or event MPM with PHP-FPM. Prefork with mod_php is compatible with everything(i think thats why Vesta uses it), but does not use threads, and that way its slower for concurrent requests.
To enable it, i just need to go to /etc/sysconfig/httpd and uncomment the worker part and install php-fpm? Do i need to have special care because of some config that Vesta have done?
Ps: I will try this first on a dev environment.
Regards