Different php versions for each virtual servers


Does virtualmin supports choosing between php 4 or 5 for each virtual server?

And if so, how?


Hey Julien,

Virtualmin Professional does. I don’t know if the multiple version handling code has been made available in GPL yet, or not.

In Virtualmin Professional edit the Server Template(s) that you use, select the Apache Website section. Set the option labeled "Default PHP exection mode" to FCGId or CGI (depending on whether you have mod_fcgid available). "Default PHP version" can also be set, depending on whether you want to have to explicitly select 4 or 5 by naming the php files with the .php4 or .php5 extension (the default only requires .php).