Cqle
By:
Cqle

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

January 18, 2017 1.6k views
Apache MySQL

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
2 Answers

@Cqle

Are you running XAMPP locally or on a Droplet?

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

C:\xampp

and phpMyAdmin should be located at:

C:\xampp\phpMyAdmin

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:

https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04

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!

Have another answer? Share your knowledge.