phpmyadmin page not being parsed by php in lamp droplet

good day im in urgent need of help

i have my ubuntu20 droplet environment setup with virtualmin, after installing phpmyadmin via terminal cant seem to get the page to display properly it is set but whenever i visit the page it shows bear php text meanwhile my other web pages run php files smoothly … but i cant get it to do the same with phpmyadmin

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 there,

Fully agree with what @KFSys mentioned. As a side note and in general, I would suggest installing PHPmyAdmin manually rather than directly via apt to avoid such configuration problems.

You can follow the steps on how to do that here:

Regards, Bobby

Hi @dafidechu,

It seems like this issue might be related to your configuration. To be more precise, your Apache configuration file for phpMyAdmin. Can you please provide the config file here so that we can see if anything needs to be edited in order for the app to work as intended?

Usually, this file is located here :


Regards, KFSys