解决办法是:
- 编辑/opt/lampp/etc/extra/httpd-xampp.conf
- 找到下面一行: <Directory "/opt/lampp/phpmyadmin">
- 在下面的</Directory>之前添加:Require all granted
- # Require local 注释掉
- 添加完成之后的结果类似于:
<Directory "/opt/lampp/phpmyadmin"> AllowOverride AuthConfig Limit Order allow,deny Allow from all Require all granted </Directory>