File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1556,7 +1556,7 @@ sub feature_get_web_php_children
15561556 }
15571557elsif ($mode eq " fpm" ) {
15581558 # Read from FPM config file
1559- my $conf = &virtual_server::get_php_fpm_config();
1559+ my $conf = &virtual_server::get_php_fpm_config($d );
15601560 return -1 if (!$conf );
15611561 my $childs = &virtual_server::get_php_fpm_pool_config_value(
15621562 $conf , $d -> {' id' }, " pm.max_children" );
@@ -1588,7 +1588,7 @@ sub feature_save_web_php_children
15881588 }
15891589 elsif ($mode eq " fpm" ) {
15901590 # Set in the FPM config
1591- my $conf = &virtual_server::get_php_fpm_config();
1591+ my $conf = &virtual_server::get_php_fpm_config($d );
15921592 return 0 if (!$conf );
15931593 $children = $childrenmax if ($children == 0); # Recommended default
15941594 my $fpmstartservers =
You can’t perform that action at this time.
0 commit comments