Working on a Ubuntu install in VMware I installed Apache, PHP, and MySQL. Installed PHPmyadmin, but couldn’t get to it using “localhost/phpmyadmin”. Found this link and it helped me.
In a teminal window type “sudo gedit /etc/apache2/apache2.conf”. Add this line “Include /etc/phpmyadmin/apache.conf” somewhere in the apache2.conf file. Restart apache. I needed to use sudo, so I typed this “sudo /etc/init.d/apache2 restart”