Cents XAMPP/LAMP phpmyadmin Access Denied

访问http://localhost/phpmyadmin/时,出现Access Denied,可以到/opt/lampp/etc/extra/httpd-xampp.conf中,寻找

<Directory "/opt/lampp/phpmyadmin">
AllowOverride AuthConfig Limit
Order allow,deny
Allow from all
</Directory>

添加一句:Require all granted

变成

<Directory "/opt/lampp/phpmyadmin">
AllowOverride AuthConfig Limit
Order allow,deny
Allow from all
Require all granted
</Directory>

你可能感兴趣的:(phpMyAdmin)