1 define(`POOL',patsubst(__file__,`^.*/fpm/\(.*\)/[^/]*$',`\1'))dnl
3 access.log = CAT(sys/php5/fpm/POOL/log/home)/access.log
4 catch_workers_output = no
6 env[HOSTNAME] = $HOSTNAME
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)
15 listen.group = CAT(sys/nginx/user)
17 #listen.allowed_clients = 127.0.0.1
18 #listen.owner = www-data
19 php_admin_value[extension] = pdo_mysql.so
24 pm.max_spare_servers = 3
25 pm.min_spare_servers = 2
26 pm.process_idle_timeout = 60s
28 pm.status_path = /status
29 request_slowlog_timeout = 5s
30 request_terminate_timeout = 120s
31 rlimit_core = unlimited
33 security.limit_extensions = .php
34 slowlog = CAT(sys/php5/fpm/POOL/log/home)/slow.log
35 user = CAT(sys/php5/fpm/POOL/user)