Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.67 KB | None | 0 0
  1. ;;;;;;;;;;;;;;;;;;
  2. ; Global Options ;
  3. ;;;;;;;;;;;;;;;;;;
  4.  
  5. [global]
  6. ; Pid file
  7. ; Default Value: none
  8. pid = /var/run/php5-fpm.pid
  9.  
  10. ; Error log file
  11. ; Default Value: /var/log/php-fpm.log
  12. error_log = /var/log/php5-fpm.log
  13.  
  14. ; Log level
  15. ; Possible Values: alert, error, warning, notice, debug
  16. ; Default Value: notice
  17. log_level = error
  18.  
  19. ; If this number of child processes exit with SIGSEGV or SIGBUS within the time
  20. ; interval set by emergency_restart_interval then FPM will restart. A value
  21. ; of '0' means 'Off'.
  22. ; Default Value: 0
  23. ;emergency_restart_threshold = 0
  24.  
  25. ; Interval of time used by emergency_restart_interval to determine when
  26. ; a graceful restart will be initiated.  This can be useful to work around
  27. ; accidental corruptions in an accelerator's shared memory.
  28. ; Available Units: s(econds), m(inutes), h(ours), or d(ays)
  29. ; Default Unit: seconds
  30. ; Default Value: 0
  31. ;emergency_restart_interval = 0
  32.  
  33. ; Time limit for child processes to wait for a reaction on signals from master.
  34. ; Available units: s(econds), m(inutes), h(ours), or d(ays)
  35. ; Default Unit: seconds
  36. ; Default Value: 0
  37. ;process_control_timeout = 0
  38.  
  39. ; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging.
  40. ; Default Value: yes
  41. ;daemonize = yes
  42.  
  43. ;;;;;;;;;;;;;;;;;;;;
  44. ; Pool Definitions ;
  45. ;;;;;;;;;;;;;;;;;;;;
  46.  
  47. [app-managedit]
  48.  
  49. listen = 0.0.0.0:8000
  50. listen.backlog = -1
  51.  
  52. ; Unix user/group of processes
  53. user = managedit
  54. group = managedit
  55.  
  56. ; Choose how the process manager will control the number of child processes.
  57. pm = dynamic
  58. pm.max_children = 3
  59. pm.start_servers = 2
  60. pm.min_spare_servers = 1
  61. pm.max_spare_servers = 2
  62. pm.max_requests = 100
  63.  
  64. ; Pass environment variables
  65. env[HOSTNAME] = $HOSTNAME
  66. env[PATH] = /usr/local/bin:/usr/bin:/bin
  67. env[TMP] = /tmp
  68. env[TMPDIR] = /tmp
  69. env[TEMP] = /tmp
  70.  
  71. ; host-specific php ini settings here
  72. php_admin_value[open_basedir] = /mnt/fs_1/m/ma/man/managedit/:/tmp
  73.  
  74. ; Monitoring Stuff
  75. pm.status_path = /phostr/fpm/status
  76. ping.path = /phostr/fpm/ping
  77. [app-testapp]
  78.  
  79. listen = 0.0.0.0:8001
  80. listen.backlog = -1
  81.  
  82. ; Unix user/group of processes
  83. user = testapp
  84. group = testapp
  85.  
  86. ; Choose how the process manager will control the number of child processes.
  87. pm = dynamic
  88. pm.max_children = 1
  89. pm.start_servers = 1
  90. pm.min_spare_servers =
  91. pm.max_spare_servers = 1
  92. pm.max_requests = 100
  93.  
  94. ; Pass environment variables
  95. env[HOSTNAME] = $HOSTNAME
  96. env[PATH] = /usr/local/bin:/usr/bin:/bin
  97. env[TMP] = /tmp
  98. env[TMPDIR] = /tmp
  99. env[TEMP] = /tmp
  100.  
  101. ; host-specific php ini settings here
  102. php_admin_value[open_basedir] = /mnt/fs_1/t/te/tes/testapp/:/tmp
  103.  
  104. ; Monitoring Stuff
  105. pm.status_path = /phostr/fpm/status
  106. ping.path = /phostr/fpm/ping
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement