wamp不能使用phpmyadmin,提示“You don't have permission to access /phpmyadmin/ on this server.”
当你安装完成wamp后,打开localhost或ip时发现已经可以运行了
但想使用phpmyadmin时,发现提示如下内容:
You don't have permission to access /phpmyadmin/ on this server.
解决办法:
打开如下文件:
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>
修改保存后,重启wamp即可!