Error while running phpmyadmin using localhost/phpmyadmin

view story

http://stackoverflow.com – My problem is if i run http://localhost/phpmyadmin it doesn't work but if i run http://localhost/phpmyadmin/index.php it will work. Is there is something i have missed while configuring phpmyadmin, secondly how do i configure http://localhost/phpmyadmin/index.php path to work on http://localhost/phpmyadmin. Thanks (HowTos)