@@ -1547,7 +1547,7 @@ sub feature_get_web_php_children
15471547{
15481548my ($d ) = @_ ;
15491549my $mode = &feature_get_web_php_mode($d );
1550- my $childrenmax = &virtual_server::get_php_max_childred_allowed ();
1550+ my $childrenmax = &virtual_server::get_php_max_children_allowed ();
15511551if ($mode eq " fcgid" ) {
15521552 # Stored in the domain's config
15531553 return $d -> {' nginx_php_children' } || 0;
@@ -1571,7 +1571,7 @@ sub feature_get_web_php_children
15711571sub feature_save_web_php_children
15721572{
15731573my ($d , $children ) = @_ ;
1574- my $childrenmax = &virtual_server::get_php_max_childred_allowed ();
1574+ my $childrenmax = &virtual_server::get_php_max_children_allowed ();
15751575$d -> {' nginx_php_children' } ||= 0;
15761576if ($children != $d -> {' nginx_php_children' }) {
15771577 my $children_curr = $d -> {' nginx_php_children' } ||
@@ -1599,8 +1599,7 @@ sub feature_save_web_php_children
15991599
16001600 &virtual_server::save_php_fpm_pool_config_value(
16011601 $conf , $d -> {' id' }, " pm.min_spare_servers" ,
1602- &virtual_server::get_php_min_spare_servers($children ))
1603- if (defined (&virtual_server::get_php_min_spare_servers));
1602+ &virtual_server::get_php_min_spare_servers($children ));
16041603
16051604 &virtual_server::save_php_fpm_pool_config_value(
16061605 $conf , $d -> {' id' }, " pm.max_spare_servers" ,
0 commit comments