# PHP parsed as text on default website

**URL:** <https://forum.virtualmin.com/t/php-parsed-as-text-on-default-website/55200>\
**Category:** Help! (Home for newbies)\
**Created:** [January 12, 2017, 3:28pm UTC](https://forum.virtualmin.com/t/php-parsed-as-text-on-default-website/55200 "2017-01-12T15:28:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexandro](https://cdn.forum.virtualmin.com/letter_avatar_proxy/v4/letter/a/cc9497/32.png) [@Alexandro](https://forum.virtualmin.com/u/Alexandro)\
**Post date:** [January 12, 2017, 3:28pm UTC](https://forum.virtualmin.com/t/php-parsed-as-text-on-default-website/55200/1 "2017-01-12T15:28:58Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![system](https://cdn.forum.virtualmin.com/uploads/default/original/2X/c/cd96d761e326db4b2bef94886a639109bd7a8e76.svg) [@system](https://forum.virtualmin.com/u/system)\
**Post date:** [April 30, 2020, 5:37am UTC](https://forum.virtualmin.com/t/php-parsed-as-text-on-default-website/55200/2 "2020-04-30T05:37:01Z")

</div>

Closed on April 30, 2020, 5:37am UTC


