How to Install or Uninstall mod_http2 in cPanel Server

How to Install or Uninstall mod_http2 in cPanel Server

As we all know cPanel released version v68. The v68 introduce new features like “File restoration”, AutoSSL notification”, etc. I would like to share one of the new features is “mod_http2”. The “mod_http2 is an Apache module. The mod_http2 Apache module provides HTTP/2 support for the Apache HTTP server. This module can increase the loading speed and security of your web pages. To obtain these benefits, you must adjust your server’s configuration. To more about http2 please refer this link https://www.interserver.net/tips/kb/http2-advantages-http2/

Please note: HTTP/2 is resource intensive and can increase your server’s memory usage.

Default configuration file location is

/etc/apache2/conf.d/http2.conf

Requirements

It requires EasyApache 4 and Apache 2.4.

You can check Apache version by using the following command.

httpd -v

Compatibility

The mod_http2 Apache module is not supported with 32-bit CentOS 6 systems.

This module is not compatible with the following modules:

mod_mpm_itk

mod_mpm_prefork (the Prefork MPM)

 

How to install or uninstall mod_http2

This tutorial will help you how to install “mod_http2” apache module via both command line and via WHM.

Command line

1) Login to the server as root user via SSH.

2) To run following command to install mod_http2.

yum install ea-apache24-mod_http2

3) To run following command to uninstall mod_http2

yum remove ea-apache24-mod_http2

 

Install via WHM

1) Login to WHM as a root user.

2) Navigate to Home >> Software >> Easyapache 4.

3) Click the button “Customize” from “Currently Installed Packages”.

Install or Uninstall mod_http2

 

4) Then select “Apache Modules” and search “mod_http2” in the search box and enable this module.

Install or Uninstall mod_http2

 

5) Then select the button “Review”.

Install or Uninstall mod_http2

 

6) Proceed “Provision”.

Install or Uninstall mod_http2

 

Now you can check this module is enabled or not by running following command.

httpd -M |grep http2_module

If you need any further help please do reach our support department.

  • 0

How to Enable Plaintext Authentication in Dovecot?

How to Enable Plaintext Authentication in Dovecot? Dovecot is an IMAP or POP3 server for...

Install Apache Tomcat using EasyApache4

Install Apache Tomcat using EasyApache4 The Apache Tomcat is an Apache module that provides a...

How to Enable Extended Logging in Exim

How to Enable Extended Logging in Exim The extended Exim logs in cPanel server will help you to...

Maximum number of connections from user+IP exceeded

Maximum number of connections from user+IP exceeded If you are getting an error like ‘ Error –...

How To Set Up Remote Access Key in WHM

How To Set Up Remote Access Key in WHM Remote Access Key is a cPanel feature that allows...