PHP files displayed as plain text (wordpress platform on Webmin/virtualmin help!

I have literally just went through 10 different error threads to solve this issue. Trying to solve this issue by other tutorials have left me with extra errors to solve, extra error solution gives me another error. At this point I’m at the 9’th errors’s error.

I have a ubuntu droplet and I have manually installed virtualmin and set everything up, I’ve uploaded and extracted the wp platform via FTP, configured db via notepad and at this point it just displays the content of the PHP files on the server :(

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.

Have you installed php5 and mod_php so Apache knows what to do with php files?

If you’re on Ubuntu 15.10 or older

sudo apt-get php5 install libapache2-mod-php5 php5-mysql

If you’re on Ubuntu 16.04

sudo apt-get install libapache2-mod-php7.0 php7.0-mysql