update pharext
[pharext/replicator.pharext.org] / etc / fpm-pool.conf
1 ; Start a new pool named 'www'.
2 ; the variable $pool can be used in any directive and will be replaced by the
3 ; pool name ('www' here)
4 [replicator]
5
6 user = www-data
7 group = www-data
8
9 listen = /run/php/php-$pool.sock
10 listen.owner = www-data
11 listen.group = www-data
12 ;listen.mode = 0660
13
14 pm = dynamic
15 pm.max_children = 20
16 pm.start_servers = 2
17 pm.min_spare_servers = 1
18 pm.max_spare_servers = 3
19 ;pm.max_requests = 500
20
21 slowlog = /var/log/php-fpm.log.slow
22 request_slowlog_timeout = 30
23
24 ; Depth of slow log stack trace.
25 ; Default Value: 20
26 ;request_slowlog_trace_depth = 20
27
28 ; The timeout for serving a single request after which the worker process will
29 ; be killed. This option should be used when the 'max_execution_time' ini option
30 ; does not stop script execution for some reason. A value of '0' means 'off'.
31 ; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
32 ; Default Value: 0
33 ;request_terminate_timeout = 0
34
35 ; Chdir to this directory at the start.
36 ; Note: relative path can be used.
37 ; Default Value: current directory or / when chroot
38 chdir = /var/www/$pool
39
40 ; Note: set an empty value to allow all extensions.
41 ; Default Value: .php
42 security.limit_extensions = .php
43