In Ubuntu, I added my usual directory Auth for phpmyadmin in the apache sites-available website specific file. (using Chrome incognito mode to ensure I was prompted) but I have no luck referencing the symlink below, nor where the symlink originates: /usr/share/phpmyadmin
Also tried adding it into: /etc/phpmyadmin/apache.conf
I restarted apache each time, works with all my other directories, but not phpmyadmin.
<Directory "/srv/www/html/phpmyadmin">
AuthType Basic
AuthName "Restricted Files"
AuthBasicProvider file
AuthUserFile /srv/www/pwadmin
Require user admin
</Directory>