gpt4 book ai didi

phpmyadmin - 只能从本地网络 phpmyadmin 访问所请求的对象

转载 作者:行者123 更新时间:2023-12-01 19:58:41 32 4
gpt4 key购买 nike

我刚刚安装了 Linux 版 xampp 1.8.0,当我打开 phpmyadmin 时出现此错误禁止访问!!

New XAMPP security concept:Access to the requested object is only available from the local network.This setting can be configured in the file "httpd-xampp.conf".

我试过this发布但没有运气。请帮忙。我是从我自己的电脑而不是从任何其他网络打开它。

最佳答案

如果您看到以下错误消息,请尝试输入 phpyAdmin :

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".

接下来您可以执行以下操作(对于部署在 UNIX 系统上的 XAMPP):您可以尝试更改 <Directory "/opt/lampp/phpmyadmin"> 的配置

# vi /opt/lampp/etc/extra/httpd-xampp.conf

并将安全设置更改为

#LoadModule perl_module        modules/mod_perl.so

<Directory "/opt/lampp/phpmyadmin">
AllowOverride AuthConfig Limit
Order allow,deny
Allow from all
Require all granted
ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</Directory>

第一个 - 评论 pl 模块,第二个 - 更改节点目录的配置。之后,您应该重新启动 httpd守护进程

# /opt/lampp/xampp restart

现在您可以访问http://[server_ip]/phpmyadmin/

关于phpmyadmin - 只能从本地网络 phpmyadmin 访问所请求的对象,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11999371/

32 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com