Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

Apache - Worker MPM + PHP-FPM

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
RevengeFNF
Posts: 92
Joined: Sat Aug 02, 2014 6:50 pm

Os: CentOS 6x
Web: nginx + php-fpm
Apache - Worker MPM + PHP-FPM
  • Quote

Post by RevengeFNF » 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
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: Apache - Worker MPM + PHP-FPM
  • Quote

Post by skurudo » Thu Jul 23, 2015 11:01 am

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?
VestaCP will support PHP-FPM soon enough. If this wait, then be better to wait a release.
But if you don't, then you should make nginx configuration files modification to php-fpm "module".
Top

maman
Posts: 17
Joined: Mon Aug 27, 2018 3:05 pm

Os: CentOS 4x
Web: apache
Re: Apache - Worker MPM + PHP-FPM
  • Quote

Post by maman » Sun Feb 16, 2020 5:45 pm

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.
Top


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password