Home  >  Article  >  Database  >  wamp不能使用phpmyadmin,提示“You don't have permission

wamp不能使用phpmyadmin,提示“You don't have permission

WBOY
WBOYOriginal
2016-06-07 15:36:261215browse

wamp不能 使用 phpmyadmin, 提示 “You don't have permission to access /phpmyadmin/ on this server.” 当你安装完成wamp后,打开localhost或ip时发现已经可以运行了 但想 使用 phpmyadmin时,发现 提示 如下内容: You don't have permission to access

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的安装目录下的内容

修改成这样:

<code><directory>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
      <span>  Allow from all</span>
</directory>
</code>

 

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

<code><directory>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
        Order Deny,Allow
   <span> Deny from all
    Allow from 127.0.0.1</span>
</directory>
</code>

修改保存后,重启wamp即可!

 

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn