After reading the following discussion on Apache mailing list: https://lists.gt.net/apache/dev/470442 - it seems that soon to be released Apache 2.4.27 will have HTTP2 disabled as default if you are running mpm prefork. Please read the whole discussion, but here is two quotes from it:
https://lists.gt.net/apache/dev/470523#470523
https://lists.gt.net/apache/dev/470524#470524
I am running plain default Apache on my servers, and for PHP I am running mod_php with mod_ruid2. So after reading the disscussion above, what do the DirectAdmin users think is a "modern MPM" suited for shared hosting servers? As it seems mpm prefork is outdated and will not be usable for HTTP2.
Also maybe DirectAdmin support should be asked about this, because it currently seem to implement mpm prefork as default.
Code:
Well put. Confirming what Stefan wrote... the following appears in the error log
at startup;
[Thu Jul 06 12:18:58.005442 2017] [http2:warn] [pid 30121] AH10034:
The mpm module (prefork.c) is not supported by mod_http2. The mpm
determines how things are processed in your server. HTTP/2 has more
demands in this regard and the currently selected mpm will just not
do. This is an advisory warning. Your server will continue to work,
but the HTTP/2 protocol will be inactive.
Code:
I think the fallout is more nuanced than that. The mod_http2
architecture currently cannot be mixed with prefork; it can lead to
deadlock, and that's not okay for production systems in any way.
Administrators using prefork who would like to switch to HTTP/2 in the
future need to understand the limitations of the prefork architecture
they have selected. And sure, our users can request that we implement a
solution that "just works" with prefork, with the parent dispatcher that
Stefan has mentioned, and we can weigh the cost/benefit of implementing
it. [B]But IMO it's not that onerous to ask our users to upgrade to a
modern MPM if they want a nice new protocol.[/B]
There are costs to making new things work with old machinery, and they
affect you (the users) in real ways, even if you do not see them yourself.
I am running plain default Apache on my servers, and for PHP I am running mod_php with mod_ruid2. So after reading the disscussion above, what do the DirectAdmin users think is a "modern MPM" suited for shared hosting servers? As it seems mpm prefork is outdated and will not be usable for HTTP2.
Also maybe DirectAdmin support should be asked about this, because it currently seem to implement mpm prefork as default.