From: Ludovic CHEVALIER Date: Wed, 15 Apr 2015 10:46:19 +0000 (+0200) Subject: Modifications : etc/php5/fpm/org/heureux-cyclage/clavette-lyon/php-fpm.conf.m4 X-Git-Url: http://git.cyclocoop.org/?p=lhc%2Fadmin.git;a=commitdiff_plain;h=87375c92ac86daa11bc510b865c6299482aa95ce Modifications : etc/php5/fpm/org/heureux-cyclage/clavette-lyon/php-fpm.conf.m4 --- diff --git a/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/clavette-lyon/php-fpm.conf.m4 b/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/clavette-lyon/php-fpm.conf.m4 index e670558..bcba38d 100644 --- a/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/clavette-lyon/php-fpm.conf.m4 +++ b/srv/ateliers/etc/php5/fpm/org/heureux-cyclage/clavette-lyon/php-fpm.conf.m4 @@ -1,17 +1,17 @@ define(`POOL',patsubst(__file__,`^.*/fpm/\(.*\)/[^/]*$',`\1'))dnl [POOL] -access.log = /home/www/log/php5/fpm/POOL/access.log +access.log = CAT(sys/php5/fpm/POOL/log/home)/access.log catch_workers_output = no chdir = / env[HOSTNAME] = $HOSTNAME env[TEMP] = /tmp env[TMPDIR] = /tmp env[TMP] = /tmp -group = CAT(sys/php5/fpm/org/heureux-cyclage/clavette-lyon/user) +group = CAT(sys/php5/fpm/POOL/user) #listen = 127.0.0.1:9000 -listen = CAT(sys/php5/fpm/org/heureux-cyclage/clavette-lyon/socket) +listen = CAT(sys/php5/fpm/POOL/socket) #listen.allowed_clients = 127.0.0.1 -listen.group = www-data +listen.group = CAT(sys/nginx/user) listen.mode = 0660 #listen.owner = www-data listen.backlog = -1 @@ -27,8 +27,8 @@ request_slowlog_timeout = 5s request_terminate_timeout = 120s rlimit_core = unlimited rlimit_files = 131072 -slowlog = /home/www/log/php5/fpm/POOL/slow.log -user = CAT(sys/php5/fpm/org/heureux-cyclage/clavette-lyon/user) +slowlog = CAT(sys/php5/fpm/POOL/log/home)/slow.log +user = CAT(sys/php5/fpm/POOL/user) #php_admin_value[extension] = pdo_mysql.so php_admin_value[extension] = mysql.so pm.max_children = 4