php-fpm.conf 533 B

12345678910111213141516171819202122232425262728
  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 = app
  10. group = app
  11. listen = [::]:9000
  12. pm = dynamic
  13. pm.max_children = 10
  14. pm.start_servers = 4
  15. pm.min_spare_servers = 2
  16. pm.max_spare_servers = 6
  17. clear_env = no
  18. ; Ensure worker stdout and stderr are sent to the main error log.
  19. catch_workers_output = yes