Forbidden
You don't have permission to access /phpmyadmin on this server.
Apache/2.2.17 (Fedora) Server at 219.223.251.62 Port 80
修改方法:
vim /etc/httpd/conf.d/phpMyAdmin.conf
<Directory /usr/share/phpMyAdmin/>
<IfModule mod_authz_core.c>
# Apache 2.4
require all granted # 加一句这个
#<RequireAny>
# Require ip 127.0.0.1 # 注释掉这些
# Require ip ::1
#</RequireAny>
</IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from All
Allow from 127.0.0.1
Allow from ::1
</IfModule>
</Directory>
然后重启apache服务器