#See all the installed
apt list --installed
apt list
#Installing Apache
#To install Apache, install the latest meta-package apache2 by running:
sudo apt update
sudo apt install apache2
#Install the mysql-server
sudo apt install mysql-server
sudo systemctl status mysql
#Remove PHP and all his libraries and files
sudo apt-get purge php7.*
#Install PHP again
sudo apt-get install php7.2
#Install Php admin
sudo apt install phpmyadmin php-mbstring php-gettext