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