I can access localhost fine on Xampp with phpmyadmin on ubuntu. I can see the contents of /htdocs which I completely cleared and wrote my own for. I want to access phpmyad
I solved this by creating a new virtual host for phpmyadmin
Append the following to C:/xampp/apache/conf/httpd.conf:
NameVirtualHost phpmyadmin.local
ServerName phpmyadmin.local
DocumentRoot "C:/xampp/htdocs/phpmyadmin"
AllowOverride All
Allow from All
Change the DocumentRoot/Directory to the path where you have installed your version of phpmyadmin.
Open the C:\Windows\System32\drivers\etc\hosts file in a text editor and add the following line:
127.0.0.1 phpmyadmin.local
then save the hosts file and restart xampp.