Install & Configure Apache 2.4 (Ubuntu 20.04)

Install

Install Apache
sudo apt install apache2 -y
Install PHP
sudo apt install php -y
Install MySQL Client for PHP
sudo apt install php-mysql -y
Install Image Handling for PHP
sudo apt install php-gd -y

Configure

To Restart the Service
sudo systemctl restart apache2
Apache2 Configuration File (Restart Service After)
sudo nano /etc/apache2/apache2.conf
Enable Module Rewrite (Restart Service After)
sudo a2enmod rewrite
Enable Module HTTP Proxy/Reverse Proxy (Restart Service After)
sudo a2enmod proxy
sudo a2enmod proxy_http
Pending Update