
Need some help? We are here for you!We have a very friendly service - Come and chat to us and let us know what you need, we work for an hourly fee and can also provide you a no obligation quote and begin work immediately in most cases. Click "Request Support" or use our Live Chat.
Request support
UPDATED 31/07/2017 – EA4 HTTP/2 has now moved out of Experimental!
I was surprised last night to discover that HTTP2 has come to WHM Experimental and can now be installed with just a few short steps into EasyApache 4. If you dont already use EA4 I strongly suggest you move over to it if possible from within the WHM GUI, it makes rebuilding apache and adding modules far easier than EA3 and also supports multiple PHP versions running together which is a great feature to offer your hosting clients.
Anyway If you have EA4 setup then all you need to do is launch a SSH terminal to your server and run the following commands:
1. run the following commands:
yum install ea-apache24-mod_http2
2. Once install is complete you need to create a file in /etc/apache2/conf.d/http2.conf , I would use nano, ie.
nano /etc/apache2/conf.d/http2.conf
OR open up your WHM Interface and go to Server Configuration > Apache Configuration > Include Editor and add the below code to Pre Main Include / All Versions.
Add the following and save the file:
<IfModule http2_module> LogLevel http2:info Protocols h2 h2c http/1.1 </IfModule>
3. Finally, restart apache and you are done!!
/scripts/restartsrv_httpd
Note: You can check your HTTP2 implementation at the following sites:
https://tools.keycdn.com/http2-test
https://http2.pro/check
HTTP/2 Experimental Removal
If you followed this guide before the update (31/07/2017) then you will need to first remove the old packages, fortunately this is really easy, before following the above guide please run these two commands first to remove the experimental version.
yum remove ea4-experimental
yum remove ea-apache24-mod_http2
Need some help? We are here for you!We have a very friendly service - Come and chat to us and let us know what you need, we work for an hourly fee and can also provide you a no obligation quote and begin work immediately in most cases. Click "Request Support" or use our Live Chat.
Request support
It works . Thanks for help
Http/2 worked neatly with the above mentioned.Active in test result. But it started to work later. I did not make any arrangements. Why http/2 will not work.
I have updated the guide since HTTP/2 is now out of experimental, please follow the removal section then try the new guide.