http/2 apache centos7

1. Using epel test repository you can install nghttp2 and libnghttp2-devel libraries.

2. then get and compile openssl using

3. create symlinks in

to

4. because for now cpanel doesn’t allow mod_http2 and ignores it in easyapache, I downloaded latest apache sources to /home/cpeasyapache/httpd-2.4.18/ and did

5. in /usr/local/cpanel/scripts/before_apache_make add

6. create /var/cpanel/easy/apache/rawopts/Apache2_4 and add there:

7. if everything is OK enable http2