X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=srv%2Fateliers%2Fetc%2Fphp5%2Ffpm%2Forg%2Fheureux-cyclage%2Fclavette-lyon%2Fphp-fpm.conf.m4;h=7a9475be02c29eea29d87157e15c8758212aea51;hb=1403a7aff145fe85d0a7415041a1f0c939767132;hp=e6705587e9721712871af9e223b2389d4c9e97dc;hpb=feb7e0ff6e5ac80faf3174fb2fe528bc40dc60f4;p=lhc%2Fadmin.git 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..7a9475b 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,18 @@ 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 +allow_url_fopen = On 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 +28,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