Multiple PHP-FPM small bug

SYSTEM INFORMATION
OS type and version Ubuntu Linux 22.04.3
Webmin version 2.105
Virtualmin version 7.8.2

I encountered a bug while installing multiple PHP-FPM versions.

After installing multiple versions of PHP (7.4, 8.1, 8.2, 8.3) using the command line, I proceeded to install Webmin and Virtualmin. However, when navigating to Virtualmin – System Settings – Server Templates – Default Settings – PHP Options, I observed that the ‘Default PHP version’ option only provides 8.2.13 and Highest available. Similarly, on this page, the ‘Template PHP configuration file’ only got configuration for version 8.2.

On the other hand, if in Vhost’s – Server Configuration – PHP options, there are complete options for choosing from four PHP versions.All four versions of PHP are functioning correctly. Therefore, there seems to be a bug in the Server Templates section.

what does Virtualmin – System Settings – Re-Check Configuration say – maybe it will shed light on the underlying issue

It appears that everything is normal, as described below…

Your system has 7.75 GiB of memory, which is at or above the Virtualmin recommended minimum of 256 MiB
The following PHP execution modes are available : fcgid fpm
The following PHP versions are available : 8.2.13 (/bin/php-cgi8.2)
The following PHP-FPM versions are available : 7.4.33 (php7.4-fpm) 8.1.26 (php8.1-fpm) 8.2.13 (php8.2-fpm) 8.3.0 (php8.3-fpm)
MySQL 8.0.35-0ubuntu0.22.04.1 is installed and running
… … …
… your system is ready for use by Virtualmin

Normally you do a minimal install of your OS and then use the Virtualmin install script to sort things out. Then you add your PHP flavors.
www.virtualmin.com/documentation/web/multiplephp/

That is back to front.
Always install Webmin/Virtualmin on a clean OS unless you want problems.

It sounds like you didn’t and installed PHP versions first (so you seem surprised that something was overwritten broken)

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.