首页 > 数据库技术 > 详细

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

时间:2020-09-30 17:03:34      阅读:51      评论:0      收藏:0      [点我收藏+]

问题:安装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".

 

技术分享图片

 

 

 

解决办法:

step1 找到httpd-xampp.conf文件,

技术分享图片

 

 

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.

原文:https://www.cnblogs.com/chocolatexll/p/13755054.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!