Advertisement
RedFoxy

php-fpm 2015-09-13

Sep 13th, 2015
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. [global]
  2. pid = run/php-fpm.pid
  3.  
  4. error_log = /var/log/php-fpm/error.log
  5. log_level = error
  6.  
  7. emergency_restart_threshold = 10
  8. emergency_restart_interval = 1m
  9.  
  10. process_control_timeout = 10s
  11. process.max = 0
  12.  
  13. [sam]
  14. user = web
  15. group = web
  16. security.limit_extensions = .php
  17.  
  18. listen = /tmp/php-fpm.$pool.sock
  19. listen.allowed_clients = 127.0.0.1
  20. listen.backlog = -1
  21.  
  22. pm = static
  23. pm.max_children = 16
  24. pm.max_requests = 0
  25.  
  26. listen.owner = web
  27. listen.group = web
  28. listen.mode = 0666
  29. catch_workers_output = yes
  30.  
  31. ping.path = /ping
  32. ping.response = pong
  33.  
  34. request_slowlog_timeout = 20s
  35. slowlog = /home/serverweb/log/php-fpm/slow.$pool.log
  36.  
  37. env[TMP] = /tmp
  38. env[TMPDIR] = /tmp
  39. env[TEMP] = /tmp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement