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=f43c35ff3b4b77305fbf7ba7be8341cb7501717c;hb=f2eee2fcf1412a9f2af21eeb19278f87d706eb8d;hp=71266803467ec28dba48f9cc6cb9cf71435e0902;hpb=0413dcd8bcb432071ebddf429016fefe3216035b;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 7126680..f43c35f 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 = /run/php5/fpm/POOL +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,10 +27,11 @@ 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 +php_value[allow_url_fopen] = On pm.max_children = 4 pm.max_requests = 1000 pm.max_spare_servers = 4