Sow nothing reap nothing

WampServer服务器多站点配置后打不开phpMyAdmin的解决办法

已有3,921次关注

WampServer服务器多站点配置后打不开phpMyAdmin的解决办法 (Forbidden You don't have permission to access / on this server.解决方法)

1、首先找到wampserver安装目录下面的httpd.conf配置文件 文件路径:电脑磁盘:\wamp\bin\apache\Apache2.2.21\conf\httpd.conf打开httpd.conf配置文件,找到下面代码:

#   onlineoffline tag - don't remove
    Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1

将这段代码修改为:

#   onlineoffline tag - don't remove
    Order Allow,Deny
    Allow from all

2、保存之后重启wampserver服务即可。

(Forbidden You don't have permission to access /phpmyadmin/ on this server. 解决办法)

1、首先找到wampserver安装目录下面的phpmyadmin.conf配置文件
文件路径:电脑磁盘:\wamp\alias\phpmyadmin.conf打开phpmyadmin.conf配置文件,找到下面代码:

<directory alias="" f:="" phpmyadmin3.5.1="" software="" wamp="">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</directory>

将这段代码修改为:

<directory apps="" f:="" phpmyadmin3.5.1="" software="" wamp="">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
</directory>

2、保存之后重启wampserver服务即可。

已自动关闭评论