指引网

当前位置: 主页 > 网站运营 > 建站经验 >

wampserver服务器出现“You don’t have permission to access /phpmyadmin/ on this server.”解决方法图文教程

来源:网络 作者:佚名 点击: 时间:2017-07-23 00:42
[摘要] 使用wampserver来搭建PHP+MySQL本地环境来做网站时,当我们使用localhost来访问我们自己做的本地网站时,出现了“You don't have per……

使用wampserver来搭建PHP+MySQL本地环境来做网站时,当我们使用localhost来访问我们自己做的本地网站时,出现了“You don't have permission to access /phpmyadmin/ on this server.”,但我们使用127.0.0.1来访问本地网站时去正常。

wampserver服务器出现“You don't have permission to access /phpmyadmin/ on this server.”解决方法

在自己学做网站时,我们使用本地环境时出现了You don't have permission to access /phpmyadmin/ on this server.提示时,这是由于本地环境的配置文件有问题,我们可以去修改一下配置文件来解决这种问题。

  1. 打开本地环境APACHE下的httpd.conf,它的位置在:wamp\bin\apache\apache2.2.21\conf下;
    wampserver服务器出现“You don't have permission to access /phpmyadmin/ on this server.”解决方法
  2. 用记事本打开httpd.conf,然后找到以下的语句:
    <Directory />
    Options FollowSymLinks
    AllowOverride None
    Order deny,allow
    Deny from all
    </Directory>
------分隔线----------------------------