e13d6c4bd5cf35c0c1f5a333e1418cb476840f96
[lhc/admin.git] / srv / ateliers / etc / php5 / fpm / org / heureux-cyclage / nuages / php-fpm.conf.m4
1 define(`POOL',patsubst(__file__,`^.*/fpm/\(.*\)/[^/]*$',`\1'))dnl
2 [POOL]
3 access.log = CAT(sys/php5/fpm/POOL/log/home)/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/POOL/user)
11 #listen = 127.0.0.1:9000
12 listen = CAT(sys/php5/fpm/POOL/socket)
13 listen.backlog = -1
14 listen.group = CAT(sys/nginx/user)
15 listen.mode = 0660
16 #listen.allowed_clients = 127.0.0.1
17 #listen.owner = www-data
18 php_admin_value[extension] = pdo_mysql.so
19 ping.path = /ping
20 pm = dynamic
21 pm.max_children = 15
22 pm.max_requests = 200
23 pm.max_spare_servers = 3
24 pm.min_spare_servers = 2
25 pm.process_idle_timeout = 60s
26 pm.start_servers = 2
27 pm.status_path = /status
28 request_slowlog_timeout = 5s
29 request_terminate_timeout = 120s
30 rlimit_core = unlimited
31 rlimit_files = 131072
32 security.limit_extensions = .php
33 slowlog = CAT(sys/php5/fpm/POOL/log/home)/slow.log
34 user = CAT(sys/php5/fpm/POOL/user)