Install php 7 and apache 2
sudo apt update && upgradesudo apt-get install php
Install MySql and phpMyAdmin
sudo apt-get install mysql-servermysql-clientThen install phpmyadminsudo apt-get install phpmyadmin -yThen check phpmyadmin
The requested URL /phpmyadmin was not found on this server
sudo -H gedit /etc/apache2/apache2.confadd following line to end of apache config fileInclude /etc/phpmyadmin/apache.confThen restart apache:
/etc/init.d/apache2 restartMore details - https://askubuntu.com/questions/668734/the-requested-url-phpmyadmin-was-not-found-on-this-serverSolutions for Access Denied For User Localhost on Ubuntu Linux
How to change MySQL 'root' password