PHP-FPM Configuration options are not the same for Apache and NGINX

SYSTEM INFORMATION
OS type and version Debian 12
Webmin version 2.105
Virtualmin version 7.9.0
Related packages webmin-virtualmin-nginx, webmin-virtualmin-nginx-ssl

First off, the newly introduced configuration options for PHP FPM are very convenient as we don’t need to manually edit the configuration file anymore. However, while Apache’s appears to be fully fledged for the most part, NGINX seems to be lacking some features.

  1. On Apache, there’s also an option to set the number of workers in the PHP Options page. On NGINX, I seem to have the option on some sites, but it’s not present under some. From what it seems, it only seems to appear for older PHP versions like 7.4. The option disappears when I switch the version to 8.1 for example.
  2. On Apache, the PHP-FPM Configuration menu is under Web Configuration, but under Services for NGINX.

And one small bug report, it appears that setting ondemand still sets the other variables pm.start_servers, pm.min_spare_servers, and pm.max_spare_servers, which are not required for ondemand. Perhaps, also adding these would be helpful: pm.process_idle_timeout, pm.max_requests.