I noticed recently that you can now configure the “PHP Process Manager Mode” for a domain via “PHP Options” page and API via “modify-web” command.
However, I cannot find a means to configure the “DEFAULT” mode for newly created Virtual Servers. I’ve searched through Server Templates, and Virtualmin Configuration but have not yet found the option.
If I’ve missed something, please let me know which page this can be setup on, otherwise I’d like to request that it be added to either Server Template or Virtualmin Configuration page related to PHP.
@Jamie, while testing it, I discovered that saving the Edit Server Template → PHP options page for Nginx systems and setting the Default PHP execution mode to FCGI returns an obscure error message:
Failed to save server template : PHP scripts cannot be run as the domain owner unless the php command is installed on virtual-server/feature-web.pl (line 3303)
This was reproduced on Alma 9 and Debian 12 with LEMP install. It works just fine on LAMP systems.
Thanks, perhaps for future version the feature can be implemented the same way it appears on the “PHP Options” page. You know for a consistent experience.