Install and secure phpmyadmin with Nginx LEMP stack on Ubuntu 20.04

As I was following this tutorial, in lack of a DO tutorial existing about installing phpmyadmin on Ubuntu 20.04 with a LEMP stack, I couldn’t get phpmyadmin to work. See:

Anyone know where to start troubleshooting?


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 @katovonkatz,

You only need to follow step 2 & 3, not the entire tutorial, to set up your phpmyadmin. Could you try steps 2 & 3 and let me know how it went?

Best, Dennis

Hey @katovonkatz,

It seems you have set-up the phpmyadmin in different directory other than the one specified in your Apache root /your/path/to/application .

Could you post the Apache configuration and tell me where your phpmyadmin is setup?

You can also check /var/log/nginx/error.log and post the output.

Best, Dennis