This commit is contained in:
Christoph 2022-10-17 12:32:01 +02:00
commit 33b9a36802

View File

@ -852,14 +852,14 @@ if $WITH_PHP_FPM_SUPPORT ; then
FPM_POOL_MAX_CHILDREN=""
while [[ "X$FPM_POOL_MAX_CHILDREN" = "X" ]]; do
echononl "pm.max_requests: [$DEFAULT_FPM_POOL_MAX_CHILDREN] "
echononl "pm.max_children: [$DEFAULT_FPM_POOL_MAX_CHILDREN] "
read FPM_POOL_MAX_CHILDREN
if [ "X$FPM_POOL_MAX_CHILDREN" = "X" ]; then
FPM_POOL_MAX_CHILDREN=$DEFAULT_FPM_POOL_MAX_CHILDREN
break
fi
if ! is_int $FPM_POOL_MAX_CHILDREN ; then
warn "Wrong value for pm.max_request was given (mus be an integer). Reenter again"
warn "Wrong value for pm.max_children was given (mus be an integer). Reenter again"
FPM_POOL_MAX_CHILDREN=""
continue
fi