博主在ubuntu下安装好xampp后发现打开phpmyadmin后出现
Access forbidden!New XAMPP security concept:Access to the requested object is only available from the local network.This setting can be configured in the file "httpd-xampp.conf".If you think this is a server error, please contact the webmaster.Error 403localhostApache/2.4.2 (Unix) OpenSSL/1.0.1c PHP/5.4.7
有问题找google这是博主一贯的做法,果然google大神很快给出了解决办法首先我们要修改httpd-xampp.conf文件
sudo gedit /opt/lampp/etc/extra/httpd-xampp.conf
找到
这一行
在
和
之间添加
Require all granted
这一句
例如博主的为:
AllowOverride AuthConfig Limit Order allow,deny Allow from all Require all granted
添加好之后保存然后重启xampp:sudo /opt/lampp/lampp restart,到此问题解决。
联系客服