php/5.6/fpm/php-fpm.conf
Mathieu Rochette 6c517d12b4 Tells FPM not to clear the environment in workers
Allows php scripts executed with FPM to access env vars such as env vars
from linked containers

see #74
2015-04-27 23:41:04 +02:00

26 lines
448 B
Plaintext

; This file was initially adapated from the output of: (on PHP 5.6)
; grep -vE '^;|^ *$' /usr/local/etc/php-fpm.conf.default
[global]
error_log = /proc/self/fd/2
daemonize = no
[www]
; if we send this to /proc/self/fd/1, it never appears
access.log = /proc/self/fd/2
user = www-data
group = www-data
listen = [::]:9000
pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
clear_env = no