How do I install and setup phpMyAdmin on a LAMP Droplet with Virtual Hosts

Hi. I have setup a LAMP Stack using the Ubuntu x64 LAMP default Droplet and done the base configuration items in the tutorials. I then installed an Let’s Encrypt SSL Cert for one of the Virtual Hosts and then phpMyAdmin to administer the databases in a convenient way.

I haven’t been able to find a way to access phpMyAdmin even though the install completed successfully. Do I need to do something differently in a Virtual Host Apache setup?

Any help is greatly appreciated, thank you.

Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi @webcodemonkey

How did you install phpMyAdmin? If you installed it using apt install phpmyadmin then it should automatically do everything in the setup wizard. If you installed it in a different way or have multiple VirtualHosts, then we might need to do a little adjusting to get it running.

Also have a look at this tutorial: