php-fpm.conf 379 B

1234567891011121314
  1. [www]
  2. # Only start children when there are requests to be processed
  3. pm = ondemand
  4. # Terminate them again after there haven't been any for 2 minutes
  5. pm.process_idle_timeout = 120s
  6. # Maximum number of children processing PHP requests concurrently
  7. pm.max_children = 5
  8. listen = /var/run/php-fpm.sock
  9. listen.owner = www-data
  10. listen.group = www-data
  11. user = www-data
  12. group = www-data