Where is the phpMyAdmin config for xampp apache2 and how can I remotely access it?

Posted January 18, 2017 8.6k views

I can’t find the location for the config for phpMyAdmin to allow me to remotely access it. I am using Apache2 and XAMPP.

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 403

Apache/2.4.23 (Unix) OpenSSL/1.0.2j PHP/5.5.38 mod_perl/2.0.8-dev Perl/v5.16.3
edited by jleibowitz

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
2 answers


Are you running XAMPP locally or on a Droplet?

If locally and on a Windows machine, your XAMPP directory is located at:


and phpMyAdmin should be located at:


If you’re running this on a Linux server (i.e. your Droplet, or locally), you’ll want to run:

sudo /opt/lampp/lampp security

To setup any security measures.

One thing to keep in mind is that XAMPP is meant for development, not for live production servers. If you are wanting to setup a LAMP stack, I would advise reading over this guide:

by Brennen Bearnes
A "LAMP" stack is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the Linux operating system, with the Apache web server. The site data is...

I still can’t connect to <website>/phpmyadmin
it gives me the same error
help please!