calamus

Member
Sep 30, 2011
17
0
51
cPanel Access Level
Root Administrator
Hi,
I have Centos 7.5 and EA4, I have enabled http2 module but on HTTPS connections http/2 still unavailable.

typing: curl -V
curl 7.29.0 (x86_64-redhat-linux-gnu) libcurl/7.29.0 NSS/3.34 zlib/1.2.7 libidn/1.28 libssh2/1.4.3
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtsp scp sftp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz unix-sockets

Searching on the web, I noticed CURL has enabled HTTP2 from version 7.47.0

I found this guide to upgrade to latest version of CURL (Update cURL for EasyApache 4 and CentOS or CloudLinux 6.8)
But for me dos't work.

Anyone con help me?

thanks
Piero
 

LucasRolff

Well-Known Member
Community Guide Contributor
May 27, 2013
143
90
78
cPanel Access Level
Root Administrator
OK, so "curl" the command-line tool, and and the curl PHP Module is two different things, When you've enabled http2 module for Apache in EA4, it will make Apache be able to serve http2 traffic, additionally I believe the curl module in EA4 also supports http2 calls - however, that won't make the command-line curl support http2.

You can validate if your Apache Server is able to serve http2 traffic, by entering a domain you host into the page HTTP/2 Test | A simple HTTP/2.0 test tool - this will tell whether HTTP2 is supported or not :)
 

calamus

Member
Sep 30, 2011
17
0
51
cPanel Access Level
Root Administrator
Hi,
ok this is the test result:

HTTP/2 Test Result example.com
Yeah! example.com supports HTTP/2.0. Share via: Twitter
ALPN supported.

But in the Crome Audits , the site still on HTTP/1.1

thanks
Piero
 
Last edited by a moderator:

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,271
313
Houston
There are a number of reasons why the site wouldn't be loaded over HTTP/2 we can confirm that you're supporting HTTP/2 but in order to find out specifics you might need to enlist the assistance of a developer or system administrator. There are also a LOT of topics on sites like stack overflow with this specific question that might be worth looking into as well.

Thanks!
 
Last edited: