Advertisement
Guest User

Untitled

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