欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

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

程序员文章站 2022-06-22 19:54:52
...

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

当你安装完成wamp后,打开localhost或ip时发现已经可以运行了

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

但想使用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即可!

参考:http://*.com/questions/8366976/wamp-error-forbidden-you-dont-have-permission-to-access-phpmyadmin-on-this