PHP-FPM trouble

1 post / 0 new
#1 Sat, 01/06/2018 - 10:30
ok-world

PHP-FPM trouble

The trouble is with apache version check. The test code is (file php-lib.pl, row 371 ) :

if ($mode eq "fpm" && ($apache::httpd_modules{'core'} < 2.4 || @oldppm)) {

We are check the version apache server to use different directives for setting connect to FPM. But the problem is that SetHandler works from version 2.4.10 and later. So Virtualmin generates wrong config for apache 2.4.7 (Ubuntu 14)

The second row with check version code is 384

elsif ($mode eq "fpm" && $apache::httpd_modules{'core'} >= 2.4) {