Linux Capable shows you how to upgrade Apache to the latest version on Ubuntu 20.04.
How to Upgrade Apache to Latest Version on Ubuntu 20.04
Now, you can run the apt package manager install command, which will upgrade Apache 2 web server as follows:
How to Upgrade Apache to Latest Version on Ubuntu 20.04 - LinuxCapable