2023-02-07 19:52:54 +01:00
|
|
|
; https://www.php.net/manual/install.fpm.configuration.php
|
|
|
|
|
2023-01-29 21:14:36 +01:00
|
|
|
[servnest]
|
2022-04-20 00:29:47 +02:00
|
|
|
|
2022-06-23 19:50:50 +02:00
|
|
|
user = $pool
|
2022-04-20 00:29:47 +02:00
|
|
|
group = knot
|
|
|
|
|
|
|
|
listen = /run/php-fpm/$pool.sock
|
|
|
|
|
|
|
|
listen.owner = nginx
|
|
|
|
listen.group = nginx
|
|
|
|
|
|
|
|
pm = dynamic
|
|
|
|
pm.max_children = 5
|
|
|
|
pm.start_servers = 2
|
|
|
|
pm.min_spare_servers = 1
|
|
|
|
pm.max_spare_servers = 3
|
|
|
|
|
|
|
|
access.log = /var/log/php/$pool-access.log
|
|
|
|
|
|
|
|
catch_workers_output = yes
|
|
|
|
decorate_workers_output = yes
|
|
|
|
|
|
|
|
clear_env = yes
|
|
|
|
|
|
|
|
security.limit_extensions = .php
|