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

<?php phpinfo(); ?>

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/mywebsite.com/public_html/ ) 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?