嗨我已经在我的centos机器上安装了phpmyadmin,当我尝试phpmyadmin通过我的浏览器时,我收到此错误:
Forbidden
You don't have permission to access `phpmyadmin` on this server.
Run Code Online (Sandbox Code Playgroud)
我的phpmyadmin.conf文件有以下内容:
# phpMyAdmin - Web based MySQL browser written in php
#
# Allows only localhost by default
#
# But allowing phpMyAdmin to anyone other than localhost should be considered
# dangerous unless properly secured by SSL
Alias /phpMyAdmin /usr/share/phpMyAdmin
Alias /phpmyadmin /usr/share/phpMyAdmin
<Directory /usr/share/phpMyAdmin/>
<IfModule mod_authz_core.c>
# Apache 2.4
<RequireAny>
Require ip 127.0.0.1
Require ip ::1
</RequireAny>
</IfModule>
<IfModule !mod_authz_core.c>
# Apache …Run Code Online (Sandbox Code Playgroud)