Apache, phpMyAdmin

0

After installing XAMPP in a Windows 7 Professional and running the local server, I try to access phpmyadmin and I get this:

  

Forbidden access! You do not have permission to access the requested directory. There is no index document, or the directory is   protected against reading. If you believe that this is a mistake of the   server, please communicate it to the portal administrator. Error   403 localhost Apache / 2.4.35 (Win32) OpenSSL / 1.1.0i PHP / 7.2.11

I have tried to modify the file link as they say in the vast majority of sites but I still can not access. Any other solution?

    
asked by edoman 19.10.2018 в 18:12
source

2 answers

0

You must modify the link file. At the end of the file, place the following:

<VirtualHost *:8888>
    <Directory "C:\xampp\htdocs\Fisgo\web">
        Options Indexes 
        AllowOverride All 
    </Directory>

    DocumentRoot C:\xampp\htdocs\Fisgo\web
    ServerName localhost
    # Other directives here
</VirtualHost>

You must replace:

Directory "C:\xampp\htdocs\Fisgo\web"

By the url where your index file is located. The same for DocumentRoot.

If the error is only in phpMyAdmin, check your settings in link You must have something like this:

Alias /phpmyadmin "C:/xampp/phpMyAdmin/"
    <Directory "C:/xampp/phpMyAdmin">
        AllowOverride AuthConfig
        Require local
        ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
    </Directory>

Check that all routes are correct. Evidently it is not managing to arrive at the archive.

I use port 8888 because I have problems in the blessed win10. But you can change it for another. I hope it helps you solve it. Greetings!

    
answered by 19.10.2018 в 18:23
0

In the file httpd-xampp, this route gives me the path that I can not find in the browser.

Alias /phpmyadmin "C:/xampp/phpMyAdmin/"
<Directory "C:/xampp/phpMyAdmin">
    AllowOverride AuthConfig
Require local
    ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</Directory>

The most similar directory that is C: \ xampp \ php or C: \ xampp \ mysql but nothing of phpMyAdmin. I guess that will be the error.

    
answered by 19.10.2018 в 20:33