Forbidden You don't have permission to access /phpmyadmin/ on this server.

Forbidden  You don't have permission to access / on this server.  

解决办法:

1、打开 wamp/bin/apache/apache2.2.22/conf/httpd.conf 文件

#   onlineoffline tag - don't remove
    Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1 

改成

#   onlineoffline tag - don't remove
    Order Allow,Deny
    Allow from all

重启所有服务即可

 

 

Forbidden  You don't have permission to access /phpmyadmin/ on this server  

解决办法:

2、打开 wamp/alias/phpmyadmin.conf 文件

<Directory "c:/wamp/apps/phpmyadmin3.5.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
</Directory>

修改成

<Directory "c:/wamp/apps/phpmyadmin3.5.1/">
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order Deny,Allow
Allow from all
</Directory>

 

posted @ 2021-02-09 21:21  ___澈  阅读(223)  评论(0)    收藏  举报