Home > OS >  Upgrade Apache 2.4.18 to 2.4.26 or higher on Ubuntu 16.04.7
Upgrade Apache 2.4.18 to 2.4.26 or higher on Ubuntu 16.04.7

Time:05-20

I am trying to upgrade Apache2 to a version higher than 2.4.26 so that I can enable HTTP/2. I have run these commands with no joy:

sudo add-apt-repository ppa:ondrej/apache2
sudo apt update
sudo apt upgrade
sudo apt dist-upgrade

I have Ubuntu ESM. Ubuntu 16.04.7

CodePudding user response:

Have you run:

sudo apt install apache2

Then restart Apache.

CodePudding user response:

Try adding these 2 lines to /etc/apt/sources.list

  1. deb http://ppa.launchpad.net/ondrej/apache2/ubuntu xenial main
  2. deb-src http://ppa.launchpad.net/ondrej/apache2/ubuntu xenial main

and then

sudo apt update

sudo apt upgrade

sudo apt dist-upgrade

  • Related