WAMP Server ERROR “Forbidden You don't have permission to access /phpmyadmin/ on this server.”

后端 未结 15 1962
既然无缘
既然无缘 2020-12-13 00:42

Hi Friends previously I am using XAMP Server but when I install joomla Templates it creates alots of error. Now I installed the WAMP, but the issues are: 1. I can access wit

相关标签:
15条回答
  • 2020-12-13 01:08

    Change the file content of c:\wamp\alias\phpmyadmin.conf to the following.

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

    Here my WAMP installation is in the c:\wamp folder. Change it according to your installation.

    Previously, it was like this:

    <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>
    

    Restart your Apache server after making these changes.

    0 讨论(0)
  • 2020-12-13 01:09

    For WampServer 2.2 with Apache 2.4.2 I ended up with:

    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
    Require local
    
    0 讨论(0)
  • 2020-12-13 01:09

    just add following line in wamp/alias/phpmyadmin.conf
    Allow from ::1

    so it will look something like this depending your phpmyadmin version.

    <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
    Allow from ::1
    </Directory> 
    
    0 讨论(0)
  • 2020-12-13 01:10

    So none of the above stuff worked for me. Except this: edit httpd.conf,

    find the line

    Listen 80 
    

    and change to

    listen 0.0.0.0:80 
    

    if you are running windows 8, its got something to do with using ipv6 instead of ipv4

    0 讨论(0)
  • 2020-12-13 01:11

    To solve this, I opened httpd.conf and changed the following line:

    Allow from 127.0.0.1
    

    to:

    Allow from 127.0.0.1 ::1
    
    0 讨论(0)
  • 2020-12-13 01:12

    Change in following file \bin\apache\apache2.2.22\conf\httpd.conf

    Replace Listen 80 with Listen 0.0.0.0:80
    

    Replace

    <Directory />
        Options FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
    </Directory>
    

    with

    <Directory />
        Options FollowSymLinks
        AllowOverride None
        Order deny,allow
        Allow from all
    </Directory>
    

    Replace

    onlineoffline tag - don't remove

    Order Deny,Allow
    Deny from all
    Allow from 127.0.0.1
    

    with

    onlineoffline tag - don't remove

    Order Deny,Allow
    Allow from all
    Allow from 127.0.0.1
    

    in \wamp\alias\phpmyadmin.conf replace

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

    with

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

    Tested on windows localhost. Note : Please consider RigsFolly's comment also.

    0 讨论(0)
提交回复
热议问题