Enable HTTP/2 on Apache?

Linode Staff

How can i enable HTTP/2 on a web server running Apache?

1 Reply

I've done a bit of research on this and it looks like in order to enable HTTP/2 on Apache, you need a minimum of version 2.4.18. The latest version available in the CentOS repositories is 2.4.6, as the default distro repos tend to favor stability over newer features. The only way that I was able to find to do this on a CentOS 7 system is to build apache from it's source code. On Ubuntu systems, there is a PPA Repository
that can be added to simplify installation a bit, but I can't find a similar process for CentOS 7. I've included Apache's Guide on enabling HTTP/2 by building from source code
for your reference. This is not the lightest reading, but it should get you pointed in the right direction.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct