Install HTTP/2 with Easy Apache 4 (EA4) cPanel/WHM
Overview
The mod_http2
Apache module provides HTTP/2 support for the Apache HTTP server.
Usage
This module can increase the loading speed and security of your web pages. To obtain these benefits, you must adjust your server’s configuration.
Note:
HTTP/2 is resource intensive and can increase your server’s memory usage.
You can edit the mod_http2
Apache module’s .conf
file at the following location:
/etc/apache2/conf .d /http2 .conf |
For more configuration information, read Apache’s mod_http2
documentation.
Requirement to enable HTTP/2 in EA4:
This module requires EasyApache 4 and Apache 2.4.
Compatibility
The mod_http2
Apache module is not compatible with the following modules:
- mod_mpm_itk
- mod_mpm_prefork (the Prefork MPM)
mod_http2
Apache module is not compatible with 32-bit CentOS 6 systems.How to install or uninstall mod_http2
In the interface
The easiest way to install or uninstall the mod_http2
Apache module is to use WHM’s EasyApache 4 interface (Home >> Software >> EasyApache 4).
On the command line
To install the mod_http2
Apache module in EasyApache 4, run the following command on the command line:
yum install ea-apache24-mod_http2 |
To uninstall the mod_http2
Apache module in EasyApache 4, run the following command on the command line:
yum remove ea-apache24-mod_http2 |
article source: https://documentation.cpanel.net/display/EA4/Apache+Module%3A+HTTP2
See also our article: