I've been waiting and waiting for the new release of Ubuntu so I could finally get a more up to date version of apache for http2. FINALLY upgraded (after stupid issues with the updater) and I don't see the http2 module anywhere. How do I enable http2? Please don't tell me it was it was left out because it's "experimental".

  • 2
    "Please don't tell me…", unfortunately, that's exactly the case. It's there in the release notes.
    – muru
    Apr 24, 2016 at 12:40
  • That is very disappointing. So using Ubuntu still means no http2 support unless I compile my own I guess. That was the whole reason I started using Ubuntu instead of Slackware :-( Apr 24, 2016 at 13:05
  • Use nginx instead of (or in front of) Apache, maybe. They haven't disabled in nginx: bugs.launchpad.net/ubuntu-release-notes/+bug/1503051
    – muru
    Apr 24, 2016 at 13:09
  • 1
    It seems it is the use case for the snap package format: find or create the package with the latest and greatest Apache version regardless what the rest of the system expects.
    – jfs
    Apr 24, 2016 at 22:00

1 Answer 1


You can use Ondrej's Launchpad PPA:

sudo add-apt-repository ppa:ondrej/apache2
sudo apt-get update
sudo apt-get dist-upgrade

I found this answer on DigitalOceans community support site:

Don't forget that after installing the new version of Apache, you need to activate the module manually:

sudo a2enmod http2

In your Apache config file, you can either add global support:

Protocols h2 h2c http/1.1 

Or you can activate it for individual, secure vhosts:

Protocols h2 http/1.1 

Restart Apache and you're all set. You can test your server at https://tools.keycdn.com/http2-test.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.