Answer the question
In order to leave comments, you need to log in
Apache 2.4.18 Ubuntu 16.04 not enabling HTTP/2 module?
Many times I come across that in Apache 2.4.18 there is no http2 module, while the official source says that the module is available from version 2.4.17 and higher.
During installation, it displays an error message:
sudo a2enmod http2
ERROR: Module http2 does not exist!
$ 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
_usr_sbin_apache2.0.crash
[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'
sudo apt-get install lamp-server^
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question