Skip to content

Commit 47adb6e

Browse files
committed
Update PHP_FPM_PM_CONTROL default value to 'ondemand' in Dockerfiles and documentation for Apache and Nginx variations. (Fixes #594)
1 parent 599be98 commit 47adb6e

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

‎docs/content/docs/2.image-variations/fpm-apache.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ For a complete list of available environment variables, see the [Environment Var
227227
| Variable | Default | Description |
228228
|----------|---------|-------------|
229229
| `PHP_FPM_POOL_NAME` | `www` | Name of the PHP-FPM pool |
230-
| `PHP_FPM_PM_CONTROL` | `dynamic` | Process manager control (`dynamic`, `static`, `ondemand`) |
230+
| `PHP_FPM_PM_CONTROL` | `ondemand` | Process manager control (`dynamic`, `static`, `ondemand`) |
231231
| `PHP_FPM_PM_MAX_CHILDREN` | `20` | Maximum number of child processes |
232232
| `PHP_FPM_PM_START_SERVERS` | `2` | Number of child processes created on startup |
233233
| `PHP_FPM_PM_MIN_SPARE_SERVERS` | `1` | Minimum number of idle processes |

‎docs/content/docs/2.image-variations/fpm-nginx.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ For a complete list of available environment variables, see the [Environment Var
228228
| Variable | Default | Description |
229229
|----------|---------|-------------|
230230
| `PHP_FPM_POOL_NAME` | `www` | Name of the PHP-FPM pool |
231-
| `PHP_FPM_PM_CONTROL` | `dynamic` | Process manager control (`dynamic`, `static`, `ondemand`) |
231+
| `PHP_FPM_PM_CONTROL` | `ondemand` | Process manager control (`dynamic`, `static`, `ondemand`) |
232232
| `PHP_FPM_PM_MAX_CHILDREN` | `20` | Maximum number of child processes |
233233
| `PHP_FPM_PM_START_SERVERS` | `2` | Number of child processes created on startup |
234234
| `PHP_FPM_PM_MIN_SPARE_SERVERS` | `1` | Minimum number of idle processes |

‎src/variations/fpm-apache/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ ENV APACHE_DOCUMENT_ROOT=/var/www/html/public \
6161
PHP_DISPLAY_STARTUP_ERRORS=Off \
6262
PHP_ERROR_LOG="/dev/stderr" \
6363
PHP_ERROR_REPORTING="22527" \
64-
PHP_FPM_PM_CONTROL=dynamic \
64+
PHP_FPM_PM_CONTROL=ondemand \
6565
PHP_FPM_PM_MAX_CHILDREN="20" \
6666
PHP_FPM_PM_MAX_REQUESTS="0" \
6767
PHP_FPM_PM_MAX_SPARE_SERVERS="3" \

‎src/variations/fpm-nginx/Dockerfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ ENV APP_BASE_DIR=/var/www/html \
135135
PHP_DISPLAY_STARTUP_ERRORS=Off \
136136
PHP_ERROR_LOG="/dev/stderr" \
137137
PHP_ERROR_REPORTING="22527" \
138-
PHP_FPM_PM_CONTROL=dynamic \
138+
PHP_FPM_PM_CONTROL=ondemand \
139139
PHP_FPM_PM_MAX_CHILDREN="20" \
140140
PHP_FPM_PM_MAX_REQUESTS="0" \
141141
PHP_FPM_PM_MAX_SPARE_SERVERS="3" \

0 commit comments

Comments
 (0)