WebDesires - Web Development Cannock, West Midlands
Basket is empty

HTTP2 easy install on WHM/cPanel EA4

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

There is a mobile optimized version of this page, view AMP Version.

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
0 0 vote
Article Rating

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

SHARING IS CARING!
Facebooktwitterredditpinterestlinkedinmail

Author: Dean Williams

Professional PHP Web Developer with expertise in OpenCart Web Development, WordPress Web Development, Bespoke Systems - also a seasoned Linux Server Administrator.


3 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments

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.


Let's Begin Your Journey...

Get in touch us now to begin your journey to having a beautifully crafted mobile responsive website. If you're still unsure what we could do for you then take a look at our Why Us page which includes reviews, or take a look at our Portfolio.

We can work on improving existing websites or craft a new stylish website making your business stand out.

You could always catch us by E-Mail, Telephone, Skype or Live Chat to us below.


3
0
Would love your thoughts, please comment.x
()
x