¿En qué podemos ayudarte?
- nano /etc/httpd/conf.d/phpMyAdmin.conf
Agregar la linea AllowOverride All entre las clausulas<Directory /usr/share/phpMyAdmin/>
</Directory>
Ejemplo
<Directory /usr/share/phpMyAdmin/>
AllowOverride All
<IfModule mod_authz_core.c>
. . .
</Directory>
- sudo systemctl restart httpd.service
- nano /usr/share/phpMyAdmin/.htaccess
AuthType Basic
AuthName "Admin Login"
AuthUserFile /etc/httpd/pma_pass
Require valid-user
- htpasswd -c /etc/httpd/pma_pass username
- Test the access