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

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

you 提示 yml override cnblogs option rri dmi multiview

當你安裝完成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即可!

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