We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Apache - Worker MPM + PHP-FPM
-
- Posts: 92
- Joined: Sat Aug 02, 2014 6:50 pm
- Os: CentOS 6x
- Web: nginx + php-fpm
Apache - Worker MPM + PHP-FPM
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
Re: Apache - Worker MPM + PHP-FPM
VestaCP will support PHP-FPM soon enough. If this wait, then be better to wait a release.RevengeFNF wrote: 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?
But if you don't, then you should make nginx configuration files modification to php-fpm "module".
Re: Apache - Worker MPM + PHP-FPM
It's been 5years. Still php-fpm is not supported in vestacp?
Even in apache official docs they do not recommend it anymore.
https://cwiki.apache.org/confluence/display/HTTPD/PHP 1
Please remove support for mpm prefork in vestacp. As its really old school. I never see other control panel uses prefork anymore. Except dying one.
Even in apache official docs they do not recommend it anymore.
https://cwiki.apache.org/confluence/display/HTTPD/PHP 1
Please remove support for mpm prefork in vestacp. As its really old school. I never see other control panel uses prefork anymore. Except dying one.