Question

cannot access phpmyadmin on nginx with magento installed

I have phpmyadmin installed on my server running nginx and my magento site. However, When I browse to mydomain.com/phpmyadmin magento responds saying it cannot find what I’m looking for. How can I set this up properly so that subfolder is properly routed?

Subscribe
Share

Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

Hi @StatusCue,

You’ll need to add a server block in your Nginx configuration file for your domain. There is a pretty good DigitalOcean tutorial on how to do this if you are uncertain what changes to do to your domain’s Nginx config file. You can check it out here:

https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-with-nginx-on-an-ubuntu-18-04-server

Regards, KFSys