Virtualmin does not add proper directives when using mod_php

I have set virtualmin to use mod_php in apache settings of server template. Whenever I add a new virtual server, virtualmin does not add the required directives to the vhost to enable mod_php and I need to manually run virtualmin modify-web --domain NEWDOMAIN --mode mod_php so that the following directives are added:

AddType application/x-httpd-php5 .php5
AddType application/x-httpd-php .php
Status: 
Closed (fixed)

Comments

Thanks - this will be fixed in the next Virtualmin release.

Mostafa's picture
Submitted by Mostafa on Sat, 03/04/2017 - 17:29

Status: Active » Fixed
Mostafa's picture
Submitted by Mostafa on Mon, 03/06/2017 - 09:23

Actually this was a good bug since I had configured my server to serve php files by using mod_ruid2 + mod_php

It would be great if you could add this bug as an option called Manual config for Default php execution mode in Server templates.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.