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

后端 未结 15 1963
既然无缘
既然无缘 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:26

    None of the above answers worked for me, or where unsafe (as some pointed out, using Allow from all can make your files and data accessible to the outside world).

    Open the c:\wamp\alias\phpmyadmin.conf file and change

    Allow from 127.0.0.1
    

    to

    Allow from 127.0.0.1  ::1
    

    Explanation:

    • On most computer systems, localhost resolves to the IP address 127.0.0.1, which is the most commonly used IPv4 loopback address, and to the IPv6 loopback address ::1 (source: https://en.wikipedia.org/wiki/Localhost)
    • The resolution of the name localhost into one or more IP addresses is configured by the following lines in the operating system's hosts file:

      127.0.0.1    localhost
      ::1          localhost
      
    • to see your hosts file, go to c:\Windows\System32\drivers\etc\HOSTS

    • notice the above lines are commented out with the note: # localhost name resolution is handled within DNS itself.

    On my machine, on Win7, I also noticed the following:

    • localhost\phpmyadmin did not work on Chrome, but worked on IE11
    • 127.0.0.1\phpmyadmin worked on Chrome
    0 讨论(0)
  • 2020-12-13 01:27

    If its possible uninstall wamp then run installation as administrator then change you mysql.conf file like that

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

    Not: Before I reinstall as admin the solution above didn't work for me

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

    I faced this problem

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

    Some help about this:

    First check you installed a fresh wamp or replace the existing one. If it's fresh there is no problem, For done existing installation.

    Follow these steps.

    1. Open your wamp\bin\mysql directory
    2. Check if in this folder there is another folder of mysql with different name, if exists delete it.
    3. enter to remain mysql folder and delete files with duplication.
    4. start your wamp server again. Wamp will be working.
    0 讨论(0)
提交回复
热议问题