Access to the requested object is only available from the local network phpmyadmin

前端 未结 9 714
灰色年华
灰色年华 2020-12-13 00:29

I just installed xampp 1.8.0 for linux and when I opened phpmyadmin I got this error Access Forbidden!!

New XAMPP security concept:

Access to the requested objec         


        
9条回答
  •  半阙折子戏
    2020-12-13 00:59

    on osx log into your terminal and execute

    sudo nano /opt/lampp/etc/extra/httpd-xampp.conf
    

    and replace

    
        AllowOverride AuthConfig Limit
        Require local
        ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
    
    

    with this

    
        AllowOverride AuthConfig Limit
        Order allow,deny
        Allow from all
        Require all granted
        ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
    
    

    and then restart apache and mysql

    or use this command

     /opt/lampp/xampp restart
    

提交回复
热议问题