; 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 = [::]:${PHP_PORT} pm = ${PHP_PM} pm.max_children = ${PHP_PM_MAX_CHILDREN} pm.start_servers = ${PHP_PM_START_SERVERS} pm.min_spare_servers = ${PHP_PM_MIN_SPARE_SERVERS} pm.max_spare_servers = ${PHP_PM_MAX_SPARE_SERVERS} env[MAGE_MODE] = ${APP_MAGE_MODE} clear_env = no ; Ensure worker stdout and stderr are sent to the main error log. catch_workers_output = yes