I used XAMPP to install Apache, PHP, MySQL.
I then personalized the c:\\xampp\\apache\\conf\\httpd.conf file thusly:
# DocumentRoot \"C:
It's because xampp uses an alias for pointing http://localhost/phpmyadmin to xampp's phpmyadmin path
So what you can do is, find Alias /phpmyadmin in your httpd.conf and replace it with Alias /xphpmyadmin or even Alias /phpmyadmin2. If you do this, you will not have conflict with having a phpmyadmin folder in your webs folder.
This may help others You will find the lines in your httpd.conf file
# XAMPP specific settings
Include "conf/extra/httpd-xampp.conf"
If you look in the included file "httpd-xampp.conf" you will see the line
Alias /phpmyadmin "C:/xampp/phpMyAdmin/" <Directory "C:/xampp/phpMyAdmin"> AllowOverride AuthConfig Require all granted </Directory>
Modifying this information in any number of ways (change httpd-xampp.conf, include your own custom conf file, placing a statement after the above statements) should solve your problem