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 group = CAT(sys/php5/fpm/POOL/user)
11 #listen = 127.0.0.1:9000
12 listen = CAT(sys/php5/fpm/POOL/socket)
13 #listen.allowed_clients = 127.0.0.1
14 listen.group = CAT(sys/nginx/user)
16 #listen.owner = www-data
22 pm.max_spare_servers = 4
23 pm.min_spare_servers = 2
25 pm.status_path = /status
26 request_slowlog_timeout = 5s
27 request_terminate_timeout = 120s
28 rlimit_core = unlimited
30 slowlog = CAT(sys/php5/fpm/POOL/log/home)/slow.log
31 user = CAT(sys/php5/fpm/POOL/user)
32 #php_admin_value[extension] = pdo_mysql.so
33 php_admin_value[extension] = mysql.so
34 php_value[allow_url_fopen] = On
36 pm.max_requests = 1000
37 pm.max_spare_servers = 4
38 pm.min_spare_servers = 2
39 pm.process_idle_timeout = 60s
41 request_slowlog_timeout = 5s
42 request_terminate_timeout = 120s
43 rlimit_core = unlimited
45 security.limit_extensions = .php