1
1
; Start a new pool named 'www'.
2
- ; the variable $pool can we used in any directive and will be replaced by the
2
+ ; the variable $pool can be used in any directive and will be replaced by the
3
3
; pool name ('www' here)
4
4
[www]
5
5
@@ -128,7 +128,7 @@ pm.min_spare_servers = 5
128
128
; Note: Used only when pm is set to 'dynamic'
129
129
; Note: Mandatory when pm is set to 'dynamic'
130
130
pm.max_spare_servers = 35
131
-
131
+
132
132
; The number of seconds after which an idle process will be killed.
133
133
; Note: Used only when pm is set to 'ondemand'
134
134
; Default Value: 10s
@@ -238,7 +238,7 @@ pm.max_spare_servers = 35
238
238
; may conflict with a real PHP file.
239
239
; Default Value: not set
240
240
;pm.status_path = /status
241
-
241
+
242
242
; The ping URI to call the monitoring page of FPM. If this value is not set, no
243
243
; URI will be recognized as a ping page. This could be used to test from outside
244
244
; that FPM is alive and responding, or to
@@ -255,7 +255,7 @@ pm.max_spare_servers = 35
255
255
; response is formatted as text/plain with a 200 response code.
256
256
; Default Value: pong
257
257
;ping.response = pong
258
-
258
+
259
259
; The access log file
260
260
; Default: not set
261
261
;access.log = log/$pool.access.log
@@ -330,22 +330,26 @@ slowlog = /var/log/php-fpm/www-slow.log
330
330
; Default Value: 0
331
331
;request_slowlog_timeout = 0
332
332
333
+ ; Depth of slow log stack trace.
334
+ ; Default Value: 20
335
+ ;request_slowlog_trace_depth = 20
336
+
333
337
; The timeout for serving a single request after which the worker process will
334
338
; be killed. This option should be used when the 'max_execution_time' ini option
335
339
; does not stop script execution for some reason. A value of '0' means 'off'.
336
340
; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
337
341
; Default Value: 0
338
342
;request_terminate_timeout = 0
339
-
343
+
340
344
; Set open file descriptor rlimit.
341
345
; Default Value: system defined value
342
346
;rlimit_files = 1024
343
-
347
+
344
348
; Set max core size rlimit.
345
349
; Possible Values: 'unlimited' or an integer greater or equal to 0
346
350
; Default Value: system defined value
347
351
;rlimit_core = 0
348
-
352
+
349
353
; Chroot to this directory at the start. This value must be defined as an
350
354
; absolute path. When this value is not set, chroot is not used.
351
355
; Note: you can prefix with '$prefix' to chroot to the pool prefix or one
@@ -355,20 +359,20 @@ slowlog = /var/log/php-fpm/www-slow.log
355
359
; possible. However, all PHP paths will be relative to the chroot
356
360
; (error_log, sessions.save_path, ...).
357
361
; Default Value: not set
358
- ;chroot =
359
-
362
+ ;chroot =
363
+
360
364
; Chdir to this directory at the start.
361
365
; Note: relative path can be used.
362
366
; Default Value: current directory or / when chroot
363
367
;chdir = /var/www
364
-
368
+
365
369
; Redirect worker stdout and stderr into main error log. If not set, stdout and
366
370
; stderr will be redirected to /dev/null according to FastCGI specs.
367
371
; Note: on highloaded environement, this can cause some delay in the page
368
372
; process time (several ms).
369
373
; Default Value: no
370
374
;catch_workers_output = yes
371
-
375
+
372
376
; Clear environment in FPM workers
373
377
; Prevents arbitrary environment variables from reaching FPM worker processes
374
378
; by clearing the environment in workers before env vars specified in this
@@ -381,7 +385,7 @@ slowlog = /var/log/php-fpm/www-slow.log
381
385
; Limits the extensions of the main script FPM will allow to parse. This can
382
386
; prevent configuration mistakes on the web server side. You should only limit
383
387
; FPM to .php extensions to prevent malicious users to use other extensions to
384
- ; exectute php code.
388
+ ; execute php code.
385
389
; Note: set an empty value to allow all extensions.
386
390
; Default Value: .php
387
391
;security.limit_extensions = .php .php3 .php4 .php5 .php7
@@ -399,7 +403,7 @@ slowlog = /var/log/php-fpm/www-slow.log
399
403
; overwrite the values previously defined in the php.ini. The directives are the
400
404
; same as the PHP SAPI:
401
405
; php_value/php_flag - you can set classic ini defines which can
402
- ; be overwritten from PHP call 'ini_set'.
406
+ ; be overwritten from PHP call 'ini_set'.
403
407
; php_admin_value/php_admin_flag - these directives won't be overwritten by
404
408
; PHP call 'ini_set'
405
409
; For php_*flag, valid values are on, off, 1, 0, true, false, yes or no.
0 commit comments