skip to Main Content

I am using Apache/2.4.41 (Win64) OpenSSL/1.0.2s PHP/7.1.32 my phpmyadmin is suddenly not accessible its shows following error:

Access forbidden! You don’t have permission to access the requested
directory. There is either no index document or the directory is
read-protected.

If you think this is a server error, please contact the webmaster.

I had tried everything but still not able to get it right

2

Answers


  1. I had some error like this once, I just edit the httpd-xampp.conf from Require local to Require all granted in the LocationMatch tag. Or configure the http-vhosts.conf Directory tag to

    <Directory>
         Options Indexes FollowSymLinks Includes ExecCGI
         AllowOverride none
         Require all granted
    </Directory>
    

    I hope it helps you!

    Login or Signup to reply.
  2. Go to below file

    C:xamppapacheconfextrahttpd-xampp.conf
    

    Then go to Directory tag as below:

    <Directory "C:/xampp/phpMyAdmin">
    

    and then in the Directory tag change as below:

    From

    Require local
    

    To

    Require all granted
    

    Restart the Xampp

    That’s it!

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search