Corrections : sys/php5/fpm/org/heureux-cyclage/www/pool -> sys/php5/fpm/org...
[lhc/admin.git] / srv / ateliers / etc / php5 / fpm / org / heureux-cyclage / lhc_clav_lyon / php-fpm.conf.m4
1 define(`POOL',patsubst(__file__,`^.*/fpm/\(.*\)/[^/]*$',`\1'))dnl
2 CAT(sys/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/pool)
3 [POOL]
4 access.log = /home/www/log/php5/fpm/POOL/access.log
5 catch_workers_output = no
6 chdir = /
7 env[HOSTNAME] = $HOSTNAME
8 env[TEMP] = /tmp
9 env[TMPDIR] = /tmp
10 env[TMP] = /tmp
11 group = CAT(sys/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/pool)
12 #listen = 127.0.0.1:9000
13 listen = /run/php5/fpm/POOL
14 #listen.allowed_clients = 127.0.0.1
15 listen.group = www-data
16 listen.mode = 0660
17 #listen.owner = www-data
18 listen.backlog = -1
19 ping.path = /ping
20 pm = dynamic
21 pm.max_children = 5
22 pm.max_requests = 200
23 pm.max_spare_servers = 4
24 pm.min_spare_servers = 2
25 pm.start_servers = 3
26 pm.status_path = /status
27 request_slowlog_timeout = 5s
28 request_terminate_timeout = 120s
29 rlimit_core = unlimited
30 rlimit_files = 131072
31 slowlog = /home/www/log/php5/fpm/POOL/slow.log
32 user = CAT(sys/php5/fpm/org/heureux-cyclage/lhc_clav_lyon/pool)
33 #php_admin_value[extension] = pdo_mysql.so
34 php_admin_value[extension] = mysql.so
35 pm.max_children = 4
36 pm.max_requests = 1000
37 pm.max_spare_servers = 4
38 pm.min_spare_servers = 2
39 pm.process_idle_timeout = 60s
40 pm.start_servers = 2
41 request_slowlog_timeout = 5s
42 request_terminate_timeout = 120s
43 rlimit_core = unlimited
44 rlimit_files = 131072
45 security.limit_extensions = .php