Apache Module — HTTP2
Last modified: August 23, 2024
The mod_http2
Apache module provides HTTP/2 support for the Apache HTTP server.
- Most browsers only support HTTP/2 via encrypted (https) connections.
- This module only works if you call it directly via Apache. Install the
ea-nginx-http2
package to use HTTP/2 with NGINX. - HTTP/2 is resource intensive and can increase your server’s memory 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.
Requirements
This module requires EasyApache 4 and Apache 2.4.
Compatibility
The mod_http2
Apache module is not compatible with the DSO PHP handler. This module also isn’t compatible with these other Apache modules:
mod_mpm_itk
mod_mpm_prefork
mod_ruid2
On new installations of cPanel & WHM, the system installs the mod_mpm_prefork
module by default. To check the MPMs that your system uses, run the following command:
rpm -qa | grep mpm
The output may resemble the following example:
ea-apache24-mod_mpm_prefork-2.4.34-3.el7.cloudlinux.x86_64
How to install or uninstall the module
You can install or uninstall the mod_http2
Apache module in WHM’s EasyApache 4 interface (WHM » Home » Software » EasyApache 4). If your server requires that you run websites as the user, you must also install the mod_suexec
Apache module.