If you have error to access phpmyadmin from remote access like this :

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”.

For XAMPP/LAMPP 1.7.xx, add this line to “/opt/lampp/etc/extra/httpd-xampp.conf”, 

<Directory “/opt/lampp/phpmyadmin”>
      AllowOverride All
      Order allow,deny
      Allow from all

      Require all granted

</Directory>

For XAMPP/LAMPP 1.8.xx, you have do additional configuration in /opt/lampp/etc/extra/httpd-xampp.conf :

<LocationMatch “^/(?i:(?:xampp|security|phpmyadmin|licenses|webalizer|server-status|server-info))”>
Order deny,allow
#Deny from all
Allow from ::1 127.0.0.0/8 \
fc00::/7 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 \
fe80::/10 169.254.0.0/16

Add your Source IP in here

Save and restart your XAMPP Server (/opt/lampp/lampp restart).

Everything should be fine Now

Advertisements