I just reformat my computer back to Ubuntu (16.04) and installed LAMP by using codes:
sudo apt-get update
sudo apt-get install apache2
sudo apt-get install mysql-server
sudo apt-get install php
Then I installed phpMyAdmin by using the steps below: https://www.liquidweb.com/kb/how-to-install-and-configure-phpmyadmin-on-ubuntu-14-04/
and I changed one of the commands on step 3 to
sudo gedit /etc/apache2/apache2.conf
(because i don't know what is vim...)
then after all that I open phpMyAdmin (from http://localhost/phpmyadmin
)
and it looks like this:
Include /etc/phpmyadmin/apache.conf
into/etc/apache2/apache2.conf
. phpMyAdmin is included through/etc/apache2/conf-available/phpmyadmin.conf
so you can switch it on/off bya2enconf
/a2disconf
. – pa4080 Jan 06 '17 at 10:08