Anybody use the SP with Apache's "event" MPM?
peter.schober at univie.ac.at
Thu Nov 29 07:38:57 EST 2018
* Etienne Dysli Metref <etienne.dysli-metref at switch.ch> [2018-11-29 08:06]:
> Otherwise, I think pretty much all our SPs on RHEL7 use the prefork MPM
> (I know... 8-/) either because it's the default and no one bothered to
> change or because of PHP.
You mean mod_php? Why would you use be using that instead of FPM
which works fine with either event or worker?
Maybe I can provide some motivation: FPM can be set up with a FastCGI
listener on a unix socket and thereby run all PHP processes with a
different user/group than the web server, the httpd only needs r/w
access to the socket (using proxy_fcgi_module). If you wanted you
could even put FPM on another box with a TCP FastCGI listener, then
you'd have no PHP processes running on your web server at all!
That's probably the most flexible and possibly most secure setup PHP
ever had so far.
But I guess the answer will be "because no one bothered"... too? ;)
More information about the users