The problem is that the required line in the Apache configuration file that can serve webpages for phpmyadmin is not included. Here are some commands you should type in terminal to fix this:
sudo dpkg-reconfigure -plow phpmyadmin
This command configures the installation of phpmyadmin and copy the file for phpmyadmin to the correct path.
Then check again the configuration.
grep phpmyadmin /etc/apache2/apache2.conf
And reload apache again
sudo /etc/init.d/apache2 reload
If the all commands above is unsuccessful, type the following commands:
sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf.d/phpmyadmin.conf
sudo /etc/init.d/apache2 reload
And check your browser one more time: localhost/phpmyadmin
It should work....
I have been working as a researcher at the Pamukkale University, Faculty of Science and Literature, Department of Biology since 2006. Under the main objective of my M.Sc. and Ph.D. studies, I have been studying identification of larvae and exuviae of chironomids (Diptera: Insecta); subfossil chironomid training set and transfer function modeling. http://gkakyildiz.pau.edu.tr
Interests: R statistical computing, SWEAVE, JAVA, MySQL, Php, Javascript, Latex, Blender 3D