Alias /phpMyAdmin /srv/www/html/phpMyAdmin AddExternalAuth pwauth /usr/sbin/pwauth SetExternalAuthMethod pwauth pipe AuthType Basic AuthName "phpMyAdmin" AuthBasicProvider external AuthExternal pwauth Require valid-user # this is to force the default fpm, so we don't end up trying to use a virtualhosts jailed fpm which won't work SetHandler "proxy:unix:/run/php/php8.1-fpm.sock|fcgi://localhost"