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

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

WBOY
WBOYOriginal
2016-06-07 15:36:261150Durchsuche

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 

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn