You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

php-fpm.conf 2.3KB

  1. ;;;;;;;;;;;;;;;;;;;;;
  2. ; FPM Configuration ;
  3. ;;;;;;;;;;;;;;;;;;;;;
  4. ; All relative paths in this configuration file are relative to PHP's install
  5. ; prefix (/usr). This prefix can be dynamicaly changed by using the
  6. ; '-p' argument from the command line.
  7. ; Include one or more files. If glob(3) exists, it is used to include a bunch of
  8. ; files from a glob(3) pattern. This directive can be used everywhere in the
  9. ; file.
  10. ; Relative path can also be used. They will be prefixed by:
  11. ; - the global prefix if it's been set (-p arguement)
  12. ; - /usr otherwise
  13. ;include=/etc/php5/fpm/*.conf
  14. ;;;;;;;;;;;;;;;;;;
  15. ; Global Options ;
  16. ;;;;;;;;;;;;;;;;;;
  17. [global]
  18. ; Pid file
  19. ; Note: the default prefix is /var
  20. ; Default Value: none
  21. pid = run/php5-fpm.pid
  22. ; Error log file
  23. ; Note: the default prefix is /var
  24. ; Default Value: log/php-fpm.log
  25. error_log = /var/log/php-fpm.log
  26. ; Log level
  27. ; Possible Values: alert, error, warning, notice, debug
  28. ; Default Value: notice
  29. ;log_level = notice
  30. ; If this number of child processes exit with SIGSEGV or SIGBUS within the time
  31. ; interval set by emergency_restart_interval then FPM will restart. A value
  32. ; of '0' means 'Off'.
  33. ; Default Value: 0
  34. emergency_restart_threshold = 10
  35. ; Interval of time used by emergency_restart_interval to determine when
  36. ; a graceful restart will be initiated. This can be useful to work around
  37. ; accidental corruptions in an accelerator's shared memory.
  38. ; Available Units: s(econds), m(inutes), h(ours), or d(ays)
  39. ; Default Unit: seconds
  40. ; Default Value: 0
  41. emergency_restart_interval = 1m
  42. ; Time limit for child processes to wait for a reaction on signals from master.
  43. ; Available units: s(econds), m(inutes), h(ours), or d(ays)
  44. ; Default Unit: seconds
  45. ; Default Value: 0
  46. process_control_timeout = 5
  47. ; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging.
  48. ; Default Value: yes
  49. daemonize = no
  50. ;;;;;;;;;;;;;;;;;;;;
  51. ; Pool Definitions ;
  52. ;;;;;;;;;;;;;;;;;;;;
  53. ; Multiple pools of child processes may be started with different listening
  54. ; ports and different management options. The name of the pool will be
  55. ; used in logs and stats. There is no limitation on the number of pools which
  56. ; FPM can handle. Your system will tell you anyway :)
  57. ; To configure the pools it is recommended to have one .conf file per
  58. ; pool in the following directory:
  59. include=/etc/php/7.0/fpm/pool.d/*.conf