sudo apt-get install apache2 php5 libapache2-mod-php5 mysql-server phpmyadmin
Enter password
sudo /etc/init.d/apache2 restart
/var/www/ is directory for http://localhost
Fix 404 at http://localhost/phpmyadmin:
sudo gedit /etc/apache2/apache2.conf
Add the following code at the bottom of the file, save and quit.
Include /etc/phpmyadmin/apache.conf
cam on rat nhieu .
please URL to phpmyadmin
sudo /etc/init.d/apache2 restart