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