I installed PhpMyAdmin on my Ubuntu 10.04 but when I came to test it out I couldn’t get it to work: I just got a 404 Not Found page instead of the PhpMyadmin login page. I searched the web and found out a soltion.A small hack must be done on apache’s confighuration file to solve this problem .Edit /etc/apache2/apache2.conf
vim /etc/apache2/apache2.conf
Add this to the bottom of the file
Include /etc/phpmyadmin/apache.conf
then restart apache as root.
/etc/init.d/apache2 restart