This object is in archive! 
mod_h2 - Apache HTTP/2 support -- EasyApache 3
Completed
Please consider adding mod_h2 to EasyApache for Apache 2.4, marked experimental. This will provide HTTP/2 support for testing and planning in advance of stable deployment which is anticipated to happen with the inclusion in forthcoming 2.4 releases.
Hi,
We released EA 3.32.9 on Tuesday which provides the proper make files for mod_http2, and with your custom configurations and compilations, you'll be able to get mod_http2 working.
Note, we at cPanel won't be officially supporting mod_http2 with EA3. This is a custom configuration, and any problems with it working or getting it to work most likely won't be fixed or supported by us.
We have further work in getting it running on EA4, considering it's dependencies and requirements for an upgraded OpenSSL version with proper ALPN support. This is something we'll get working eventually, but there are no plans at this time to start working on it. We want to get EA4 fully stable for 56+ and start working on caching before we look into http2.
Thanks, and enjoy! Please let us know in the forums how it's working for you!
There is a new request specifically for EasyApache 4 support of HTTP2, which can be found here. Definitely go show your support and interest by voting on that request.
Hi,
We released EA 3.32.9 on Tuesday which provides the proper make files for mod_http2, and with your custom configurations and compilations, you'll be able to get mod_http2 working.
Note, we at cPanel won't be officially supporting mod_http2 with EA3. This is a custom configuration, and any problems with it working or getting it to work most likely won't be fixed or supported by us.
We have further work in getting it running on EA4, considering it's dependencies and requirements for an upgraded OpenSSL version with proper ALPN support. This is something we'll get working eventually, but there are no plans at this time to start working on it. We want to get EA4 fully stable for 56+ and start working on caching before we look into http2.
Thanks, and enjoy! Please let us know in the forums how it's working for you!
There is a new request specifically for EasyApache 4 support of HTTP2, which can be found here. Definitely go show your support and interest by voting on that request.
This is now in Apache 2.4.17
https://icing.github.io/mod_h2/howto.html
This is now in Apache 2.4.17
https://icing.github.io/mod_h2/howto.html
Yes but you also need nghttp annnd 2.4.17 got pulled from EA for mod_<other> problems.
I would be great if they supported this via EA.
Directadmin has supported this for a while now
Yes but you also need nghttp annnd 2.4.17 got pulled from EA for mod_<other> problems.
I would be great if they supported this via EA.
Directadmin has supported this for a while now
Please add support for mod_h2 as it really does speed up the time pages load in.
Please add support for mod_h2 as it really does speed up the time pages load in.
Big +1 for this, or at least a roadmap from cPanel on this :)
Big +1 for this, or at least a roadmap from cPanel on this :)
Hi,
We are planning to add official HTTP2 support in EasyApache 4 here after we can see how it's being implemented and used amongst the industry. I'd love to see ideas for implementation and usage!
Hi,
We are planning to add official HTTP2 support in EasyApache 4 here after we can see how it's being implemented and used amongst the industry. I'd love to see ideas for implementation and usage!
HTTP2 only seems to need the h2 module enabling to provide support for it. I would suspect it would be good to provide the ability to turn it on and off if the customer wants, but also allow hosts to choose to control this and override the function in the package features.
HTTP2 only seems to need the h2 module enabling to provide support for it. I would suspect it would be good to provide the ability to turn it on and off if the customer wants, but also allow hosts to choose to control this and override the function in the package features.
So with EasyApache4 we can run PHP7 on the latest stable Apache with the mod_h2 module enabled? That would be awesome.
PHP7RC7 is available now: http://news.php.net/php.internals/89196 ;)
So with EasyApache4 we can run PHP7 on the latest stable Apache with the mod_h2 module enabled? That would be awesome.
PHP7RC7 is available now: http://news.php.net/php.internals/89196 ;)
Getting more requests for HTTP/2 support so it would be nice to see mod_h2 included soon.
Getting more requests for HTTP/2 support so it would be nice to see mod_h2 included soon.
We really want to start implementing HTTP2, please add the Apache mod_http2 module as soon as possible. It will positively benefit all types of websites in many different ways. Looking forward to WHM / cPanel support!
We really want to start implementing HTTP2, please add the Apache mod_http2 module as soon as possible. It will positively benefit all types of websites in many different ways. Looking forward to WHM / cPanel support!
mod_http2 is available in Apache by default since version 2.4.17 (released 2015-10-13)
https://httpd.apache.org/docs/2.4/mod/mod_http2.html
... so when a new stable release will appear this automatically will be supported via Apache.
mod_http2 is available in Apache by default since version 2.4.17 (released 2015-10-13)
https://httpd.apache.org/docs/2.4/mod/mod_http2.html
... so when a new stable release will appear this automatically will be supported via Apache.
I have tested this in Centos 7.1, and this doesn't work, because the provided version of OpenSSL doesn't support ALPN. Without at least OpenSSL 1.0.2e, which contains this commit: http://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=6f017a8f9db3a79f3a3406cf8d493ccd346db691
You can compile support into apache and install nghttp2, but it won't work.
I have tested this in Centos 7.1, and this doesn't work, because the provided version of OpenSSL doesn't support ALPN. Without at least OpenSSL 1.0.2e, which contains this commit: http://git.openssl.org/gitweb/?p=openssl.git;a=commit;h=6f017a8f9db3a79f3a3406cf8d493ccd346db691
You can compile support into apache and install nghttp2, but it won't work.
Jacob,
Congratulations on Apache 2.4.18 release, however I still cannot pass the --enable-http2 parameter to EasyApache3 rawopt. During EasyApache compile, it says:
checking whether to enable mod_http2... no
Even though I can see that the rawopts are read properly before the compilation started. Posted a ticket: 7407869
Note: nghttp2 is already installed.
Jacob,
Congratulations on Apache 2.4.18 release, however I still cannot pass the --enable-http2 parameter to EasyApache3 rawopt. During EasyApache compile, it says:
checking whether to enable mod_http2... no
Even though I can see that the rawopts are read properly before the compilation started. Posted a ticket: 7407869
Note: nghttp2 is already installed.
Here's how to get this as far as it can be gotten without a newer TLS provider:
You need to install the nghttp2 headers and files, so if you're on CentOS, yum install libnghttp2-devel, or on debian apt-get install libnghttp2-dev. Now you can build Apache against nghttp2.
Then, add the flag --enable-http2=shared to /var/cpanel/easy/apache/rawopts/Apache2_4 (There's your mistake Boxintense -- you need to specify static or shared)
Trigger the build, the build will succeed.
Add Protocols h2 http/1.1 and/or Protocols h2c http/1.1 to one of your include files, or if it's just for one domain, that domain's include file.
Now, if not for missing the ALPN handshake, it would work. You could manually grab an RPM or a DEB or whatever for the latest version, but you'd then cut yourself off from the spiffy upstream security updates coming through Red Hat or Debian, and that is unacceptable. You could also switch TLS providers to LibreSSL or whatever, and maybe that would work. Probably no security updates. Another thing you could do is manually apply the security updates that come through RHEL or Debian to your own custom build of OpenSSL, rebuilding and reinstalling regularly. You'll need to invest a whole lot of time to this.
Here's how to get this as far as it can be gotten without a newer TLS provider:
You need to install the nghttp2 headers and files, so if you're on CentOS, yum install libnghttp2-devel, or on debian apt-get install libnghttp2-dev. Now you can build Apache against nghttp2.
Then, add the flag --enable-http2=shared to /var/cpanel/easy/apache/rawopts/Apache2_4 (There's your mistake Boxintense -- you need to specify static or shared)
Trigger the build, the build will succeed.
Add Protocols h2 http/1.1 and/or Protocols h2c http/1.1 to one of your include files, or if it's just for one domain, that domain's include file.
Now, if not for missing the ALPN handshake, it would work. You could manually grab an RPM or a DEB or whatever for the latest version, but you'd then cut yourself off from the spiffy upstream security updates coming through Red Hat or Debian, and that is unacceptable. You could also switch TLS providers to LibreSSL or whatever, and maybe that would work. Probably no security updates. Another thing you could do is manually apply the security updates that come through RHEL or Debian to your own custom build of OpenSSL, rebuilding and reinstalling regularly. You'll need to invest a whole lot of time to this.
Hi,
We released EA 3.32.9 on Tuesday which provides the proper make files for mod_http2, and with your custom configurations and compilations, you'll be able to get mod_http2 working.
Note, we at cPanel won't be officially supporting mod_http2 with EA3. This is a custom configuration, and any problems with it working or getting it to work most likely won't be fixed or supported by us.
We have further work in getting it running on EA4, considering it's dependencies and requirements for an upgraded OpenSSL version with proper ALPN support. This is something we'll get working eventually, but there are no plans at this time to start working on it. We want to get EA4 fully stable for 56+ and start working on caching before we look into http2.
Thanks, and enjoy! Please let us know in the forums how it's working for you!
There is a new request specifically for EasyApache 4 support of HTTP2, which can be found here. Definitely go show your support and interest by voting on that request.
Hi,
We released EA 3.32.9 on Tuesday which provides the proper make files for mod_http2, and with your custom configurations and compilations, you'll be able to get mod_http2 working.
Note, we at cPanel won't be officially supporting mod_http2 with EA3. This is a custom configuration, and any problems with it working or getting it to work most likely won't be fixed or supported by us.
We have further work in getting it running on EA4, considering it's dependencies and requirements for an upgraded OpenSSL version with proper ALPN support. This is something we'll get working eventually, but there are no plans at this time to start working on it. We want to get EA4 fully stable for 56+ and start working on caching before we look into http2.
Thanks, and enjoy! Please let us know in the forums how it's working for you!
There is a new request specifically for EasyApache 4 support of HTTP2, which can be found here. Definitely go show your support and interest by voting on that request.
Replies have been locked on this page!