Use the following steps to install Apache:
Run the following command:
Use the systemd systemctl
tool to start the Apache service:
Enable the service to start automatically on boot:
Open up port 80 for web traffic:
Reload the firewall:
Confirm successful installation by entering your server's IP address in a browser to view the default Apache test page.
Use yum
to install a repository that supports PHP 7.3:
Run the following command:
Install PHP and some popular PHP modules:
Confirm your server is using PHP 7.3 by running the following command:
You should see the following output: