new xampp security concept access to the requested object
I got the following error when I go the phpmyadmin (http://localhost/phpmyadmin/) in my browser.
new xampp security concept access to the requested object is only available from the local network
I am using ubuntu. I can access mysql database from the terminal. But I can't access phpmyadmin from the browser. What is the solution for this ?
You have to edit the httpd-xampp.conf file. Backup that file and edit with root permissions .
sudo gedit /opt/lampp/etc/extra/httpd-xampp.conf
sudo vi /opt/lampp/etc/extra/httpd-xampp.conf
Add the following lines :
Allow from all Require all granted
to the following location on that file.
<Directory "/opt/lampp/phpmyadmin"> AllowOverride AuthConfig Limit Order allow,deny Allow from all Require all granted </Directory>
sudo /opt/lampp/lampp restart
Now go to http://localhost/phpmyadmin/ to see it is working.