Created sub server databases.mainwebsite.com
Installed phpMyAdmin from Web Apps and set it for system default with protected directory I still get 502 error
If I uninstall and reinstall phpMyAdmin and set as system default without protected directory the button in edit database works fine and can log into phpMyAdmin
Is there still an issue with using phpMyAdmin as system default with protected directory?
@Ilia
Yes when I click the phpMyAdmin button in manage database it will open new tab in browser, navigate to the correct sub server and I get a basic auth pop up. I enter server owner user pass and that is when I get the error.
Oh dang, can’t believe I missed that! It was still a bug, but it’s fixed now for good.
The issue was that when phpMyAdmin runs behind basic auth, Apache and Nginx both consume the authorization header and only send AUTH_TYPE and REMOTE_USER to PHP-FPM, so the password never got passed along.
Apply this patch and let me know if it fixes the issue: