XAMPP Access forbidden! Access to the requested directory is only available from the local network.

问题:安装XMAPP启动后进入 phpmyadmin页面报错。

Access forbidden!

 


New XAMPP security concept:

Access to the requested directory is only available from the local network.

This setting can be configured in the file "httpd-xampp.conf".

 

XAMPP Access forbidden! Access to the requested directory is only available from the local network.

 

 

 

解决办法:

step1 找到httpd-xampp.conf文件,

XAMPP Access forbidden! Access to the requested directory is only available from the local network.

 

 

step2 找到<Directory "/opt/lampp/phpmyadmin">节点,将节点内容替换为下面代码。

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

 

step3 保存,并重新启动。即可解决。

XAMPP Access forbidden! Access to the requested directory is only available from the local network.

 

XAMPP Access forbidden! Access to the requested directory is only available from the local network.

上一篇:mysql 权限操作


下一篇:ORACLE 按照指定顺序排序输出某些字段