2
0

php-fpm.conf 681 B

123456789101112131415161718192021222324252627282930
  1. ; This file was initially adapated from the output of: (on PHP 5.6)
  2. ; grep -vE '^;|^ *$' /usr/local/etc/php-fpm.conf.default
  3. [global]
  4. error_log = /proc/self/fd/2
  5. daemonize = no
  6. [www]
  7. ; if we send this to /proc/self/fd/1, it never appears
  8. access.log = /proc/self/fd/2
  9. user = www-data
  10. group = www-data
  11. listen = [::]:${PHP_PORT}
  12. pm = ${PHP_PM}
  13. pm.max_children = ${PHP_PM_MAX_CHILDREN}
  14. pm.start_servers = ${PHP_PM_START_SERVERS}
  15. pm.min_spare_servers = ${PHP_PM_MIN_SPARE_SERVERS}
  16. pm.max_spare_servers = ${PHP_PM_MAX_SPARE_SERVERS}
  17. env[MAGE_MODE] = ${APP_MAGE_MODE}
  18. clear_env = no
  19. ; Ensure worker stdout and stderr are sent to the main error log.
  20. catch_workers_output = yes