It is extremely strange because phpmyadmin isn't in document root,

but nonetheless can click on it by:http://localhost/phpmyadmin.

It's most likely Aliased to another location through the httpd.conf file

Something similar to:

Alias /phpmyadmin/ "C:/some/other/location/phpmyadmin/"