Report this

What is the reason for this report?

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

Posted on July 26, 2017

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.



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!

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 @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: https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.