Disabled PHP and awstats selected

When PHP is disabled and awstats is selected, stats doesn't work.

As i see it there is 2 ways to fix this

  • Create a conf file that insures that there at least is enabled modphp
  • Edit vhost template to have special condition for when php is disabled

Any pros/cons or other ideas?