PHP parsed as text on default website

1 post / 0 new
#1 Thu, 01/12/2017 - 09:28
Alexandro's picture

PHP parsed as text on default website

Hi i just set up a new virtualmin box with the last version downloaded:

Operating system Ubuntu Linux 16.04.1
Webmin version 1.831
Virtualmin version 5.05

my problem is only with the default website, the one homed in /var/www/html, a simple test.php


doesen't work and give a white page (i see the php code in the browser "view source" function) in the virtual server created instead (as /home/ ) php works just fine.
Not really a big issue tbh, but it bugs me, because i want to use the default website as a fallback page for domains pointing to the box, not configured as a virtual server, and don't want a simple html land page, i need it to be php whitch perform mainly notification tasks to the server administrator.
Can anyone tell me what to check to enable php on default website too?