No idea never used the function no need to as the defaults are good enough and with my granular approach I would just add a variable that is required by a virtual server rather than forcing it to all. Just question … why did you link to a post from 2006 ? The virtualmin module is very different from the version that was current in 2006. Maybe it’s just worth removing those options from the templates and do it per virtual server as and when required
The reason I linked to the old post, is that is all the information I could find on where these settings might be set.
Maybe it’s just worth removing those options from the templates and do it per virtual server as and when required
Removing them is probably best as I don’t think anyone uses them. PHP value defaults are the ones set on the global php.ini so do not need any templating here.
It says in the help that it applies to new virtual servers. Almost anything labeled “Template” in Virtualmin only applies to newly created Virtual Servers. It generally wouldn’t be safe to change existing config files.
It says in the help that it applies to new virtual servers. Almost anything labeled “Template” in Virtualmin only applies to newly created Virtual Servers. It generally wouldn’t be safe to change existing config files.
problem with this is that we do not know what file/config is altered to be able to determine this. When are these values used. I cant work out if they are applied only when a 3rd party script is installed or when the virtual server is created.
For reference the most of the MariaDB settings page in the virtual template is used when a database is created, but it does have a couple of settings that are used when you create a new virtual server.
I am not after where the virtual template settings themselves are stored (but this is useful), but where the PHP configuration values are set and therefore used.
I believe this feature is supposed to inject PHP values into scripts that are installed via the Virtualmin Script Installers but does not seem to be used anymore. I have made a request to get it removed and have put more information on the post below.