wamp不能使用phpmyadmin,提示“You don’t have permission to access /phpmyadmin/ on this server”

2014-10-19    分类: php注入,网络安全

解决办法:

打开如下文件:

c:\wamp\alias\phpmyadmin.conf    //这个就是你的wamp的安装目录下的内容

修改成这样:

<Directory "c:/wamp/apps/phpmyadmin3.4.5/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
</Directory>

你原本的配置应该是这样的:

<Directory "c:/wamp/apps/phpmyadmin3.4.5/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>