Php fpm

De Marmits Wiki

toto.conf pool.d

[test.local]
user = truc
group = truc
listen = /run/php/php5.6-test.local-fpm.sock
listen.owner = www-data
listen.group = www-data
listen.mode = 0666 => Pour pouvoir créer et écrire dans des fichiers/répertoires
pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
access.log = /var/log/fpm-test.local-php56.log
;php_flag[display_errors] = off
;php_admin_value[error_log] = /var/log/fpm-test.local-php56.log
;php_admin_value[memory_limit] = 32M