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
Submitted by JamieCameron on Wed, 03/01/2017 - 19:11 Comment #1
Thanks - this will be fixed in the next Virtualmin release.
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.Submitted by IssueBot on Mon, 03/20/2017 - 10:30 Comment #4
Automatically closed - issue fixed for 2 weeks with no activity.