Has anybody successfully enabled HTTP/2 on Ubuntu 16.04 with Apache 2.4.18?

May 17, 2016 1.8k views
LAMP Stack Apache Ubuntu 16.04

If so, please explain to me how you were able to do it.

When I run either of the following:

sudo a2enmod mod_http2
sudo a2enmod http2

I receive the following respectively:

ERROR: Module mod_http2 does not exist!
ERROR: Module http2 does not exist!

Jay Welsh.

2 Answers

You would need to install an Apache package that contains the http2 module, which is not the case of Ubuntu 16.04's package.

Have another answer? Share your knowledge.