; This file was initially adapted 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 = app ;group = app listen = /sock/docker.sock listen.owner = app listen.group = app listen.mode = 0660 pm = dynamic pm.max_children = 10 pm.start_servers = 4 pm.min_spare_servers = 2 pm.max_spare_servers = 6 clear_env = no ; Ensure worker stdout and stderr are sent to the main error log. catch_workers_output = yes ; This needed to make PHP-SPX work in fpm mode. process.dumpable = yes