Once again I come across that the Apache 2.4.18 module is missing the http2 module, while the official source says that the module is available from version 2.4.17 and higher.

When installing displays an error message:

sudo a2enmod http2 ERROR: Module http2 does not exist! 

I searched the information, following the link to stackoverflow, the user Jordi had the same problem.

The proposed solution is to upgrade apache to 2.4.25 from the following repository:

 $ sudo add-apt-repository -y ppa:ondrej/apache2 $ sudo apt-key update $ sudo apt-get update $ sudo apt-get --only-upgrade install apache2 -y $ sudo a2enmod http2 

And yes, it does work, but! After this update, I often get "An error has been detected in the system program."

Got in / var / crash, and there data about an error in apache:

 _usr_sbin_apache2.0.crash 

The link is the full text of the error.

And also I got into the Apache logs, there is such a picture:

 [Thu Dec 29 21:37:01.689196 2016] [mpm_prefork:notice] [pid 3518] AH00169: caught SIGTERM, shutting down [Thu Dec 29 21:37:01.878387 2016] [mpm_prefork:notice] [pid 3606] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2j configured -- resuming normal operations [Thu Dec 29 21:37:01.878458 2016] [core:notice] [pid 3606] AH00094: Command line: '/usr/sbin/apache2' [Thu Dec 29 21:38:33.239717 2016] [mpm_prefork:notice] [pid 3606] AH00169: caught SIGTERM, shutting down [Thu Dec 29 21:38:33.411289 2016] [mpm_prefork:notice] [pid 3817] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2j configured -- resuming normal operations [Thu Dec 29 21:38:33.411361 2016] [core:notice] [pid 3817] AH00094: Command line: '/usr/sbin/apache2' [Thu Dec 29 21:39:36.094163 2016] [mpm_prefork:notice] [pid 3817] AH00169: caught SIGTERM, shutting down [Thu Dec 29 21:39:52.104885 2016] [mpm_prefork:notice] [pid 4052] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2j configured -- resuming normal operations [Thu Dec 29 21:39:52.104953 2016] [core:notice] [pid 4052] AH00094: Command line: '/usr/sbin/apache2' [Thu Dec 29 21:39:54.949610 2016] [mpm_prefork:notice] [pid 4052] AH00169: caught SIGTERM, shutting down [Thu Dec 29 21:39:55.218622 2016] [mpm_prefork:notice] [pid 4103] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2j configured -- resuming normal operations [Thu Dec 29 21:39:55.218692 2016] [core:notice] [pid 4103] AH00094: Command line: '/usr/sbin/apache2' 

Advise whether it is worth updating Apache on the battle server in such a way to enable http2? I read that such errors are minor, and the pair even lower the level of errors in Apache itself so that such errors do not surface. And yet, how can you enable http2 without risks?

SSL certificates from Let's Encrypt

Server set LAMP

 sudo apt-get install lamp-server^ 

    0