解决 Access to the requested object is only avail...

linux的lamp集成环境安装后,访问localhost不能访问phpmyadmin

,要修改/opt/lampp/etc/extra路径下的http-xampp.conf配置文件,将文件最后的LocationMatch节点修改成下面,重启 xampp服务即可:

<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
        Order deny,allow
        Allow from all
        Require all granted
           
        ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>

你可能感兴趣的:(PHP,软件)