Enable HTTP2 Support in Apache: Difference between revisions
(starting page for http2) Tag: 2017 source edit |
No edit summary Tag: 2017 source edit |
||
Line 5: | Line 5: | ||
The prefork MPM has substantial limitations when working with http2 namely in that each connection can only handle one request at a time. More details can be found [https://httpd.apache.org/docs/2.4/howto/http2.html#mpm-config]. Because of this we are going to switch the apache server to using the event MPM. The event MPM is not able to preload the PHP module so we will also need to install php-fpm to parse php on the server. | The prefork MPM has substantial limitations when working with http2 namely in that each connection can only handle one request at a time. More details can be found [https://httpd.apache.org/docs/2.4/howto/http2.html#mpm-config]. Because of this we are going to switch the apache server to using the event MPM. The event MPM is not able to preload the PHP module so we will also need to install php-fpm to parse php on the server. | ||
[[Category:How To]] | [[Category:How To]] |
Revision as of 22:40, 10 April 2020
We managed to get http2 running one time for some developers who were working on PUSH in the Apache Web Server. I didn't document what we did at the time but have rerun the process since on a fresh Sympl server to test for this documentation. There are a few things that need to be mentioned before we start as there are some substantial changes to the system that need to be made for this to work.
MPM_event to replace MPM_prefork
The prefork MPM has substantial limitations when working with http2 namely in that each connection can only handle one request at a time. More details can be found [1]. Because of this we are going to switch the apache server to using the event MPM. The event MPM is not able to preload the PHP module so we will also need to install php-fpm to parse php on the server.