Operating system Ubuntu Linux 18.04.1 Webmin version 1.891 Usermin version 1.741 Virtualmin version 6.03
Having a terrible experience getting virtualmin working right from the box. I installed it on an Ubuntu 18.04 LTS on a linode machine.
A static page and image shows up fine for a website, but PHP scripts are downloading with their code visible plainly.
I tried this command from: https://www.virtualmin.com/comment/771219#comment-771219
and restarted, but nothing changed so I enabled the module back...
I've not installed phpMyAdmin, anything else, etc. I see many threads where people are confused about the same thing, but no DEFINITIVE answer from the VirtualMin/WebMin folks!
I looked at this of course: https://www.virtualmin.com/documentation/system/faq#toc-why-does-php--pr...
But the instructions are for CentOS, not Ubuntu - nevertheless I edited two of the php conf files and restarted apache2 but to no avail!
root@li857-31:~# nano /etc/apache2/mods-available/php7.2.conf root@li857-31:~# nano /etc/apache2/conf-available/php7.2-cgi.conf
Just completely stuck on this issue!