[BUG] virtualmin unable to select php-fpm

I transferred a domain from another server and I was not able to select FPM mode in Website Options because it was missing. I tracked the issue and found that get_php_fpm_config() in php-lib.pl was returning whatever php_fpm_version value was found in /etc/webmin/virtual-server/domains/1588694... , that was "7.1" in the original server, that was compared against the available FPM versions in the new system (7.4) and was failing. The conclusion was "fpm not supported for this domain".

One solution is to remove the line with php_fpm_version during a "Restore from backup" operation, or replace it with a version that exists on the new system.

Status: 
Closed (fixed)
Virtualmin version: 
6.12
Webmin version: 
1.955

Comments

Ilia's picture
Submitted by Ilia on Fri, 10/23/2020 - 07:03

Hi,

I transferred a domain from another server and I was not able to select FPM mode in Website Options because it was missing.

Thanks for reporting it. We will take a look.

Status:
Active
»
Closed (fixed)

The most recent Virtualmin release should already include a fix for this issue of the PHP version changing on restore.

Status: Fixed ยป Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.