Phpmyadmin not accessible in network or using ip xampp

Rakesh Sharma      3 Comments  

Phpmyadmin not accessible in network or using ip xampp

Phpmyadmin not accessible in network or using ip xampp

This is an error mostly shows on xampp server. let’s discuss how to access Phpmyadmin when not accessible in network or using ip on xampp.

Error:- 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.

This is because there are some new security issue applied so we can access it only on local pc not to full network or using ip. For access phpmyadmin using ip or on network you need to change some configuration.

1. Go to :- D:\xampp\apache\conf\extra\httpd-xampp.conf
2. search for below code and comment #Require local so code looks like as below

#
# New XAMPP security concept
#
<LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-status|server-info))">
        #Require local
	ErrorDocument 403 /error/XAMPP_FORBIDDEN.html.var
</LocationMatch>

Now you can access phpmyadmin on your network or using ip and you are no longer with error :- Access forbidden! New XAMPP security concept: Access to the requested object is only available from the local network.

  • Md Asiful Haque

    There is another solution to this problem

    Just modify “Require local” to “Require all Granted”

    • Waleed

      Thanks, that worked for me :D

    • Amanul Huda

      Thank u brother