Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Dec 18th, 2012 15 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;;;;;;;;;;;;;;;;;;;;;
  2. ; FPM Configuration ;
  3. ;;;;;;;;;;;;;;;;;;;;;
  4.  
  5. ; All relative paths in this configuration file are relative to PHP's install
  6. ; prefix (/opt/php5). 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. ;  - /opt/php5 otherwise
  15. ;include=etc/fpm.d/*.conf
  16.  
  17. ;;;;;;;;;;;;;;;;;;
  18. ; Global Options ;
  19. ;;;;;;;;;;;;;;;;;;
  20.  
  21. [global]
  22. ; Pid file
  23. ; Note: the default prefix is /opt/php5/var
  24. ; Default Value: none
  25. pid = /var/run/php-fpm.pid
  26.  
  27. ; Error log file
  28. ; Note: the default prefix is /opt/php5/var
  29. ; Default Value: log/php-fpm.log
  30. error_log = /var/log/php5-fpm/php-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. ; Start a new pool named 'www'.
  71. ; the variable $pool can we used in any directive and will be replaced by the
  72. ; pool name ('www' here)
  73. [www]
  74.  
  75. ; Per pool prefix
  76. ; It only applies on the following directives:
  77. ; - 'slowlog'
  78. ; - 'listen' (unixsocket)
  79. ; - 'chroot'
  80. ; - 'chdir'
  81. ; - 'php_values'
  82. ; - 'php_admin_values'
  83. ; When not set, the global prefix (or /opt/php5) applies instead.
  84. ; Note: This directive can also be relative to the global prefix.
  85. ; Default Value: none
  86. ;prefix = /path/to/pools/$pool
  87.  
  88. ; The address on which to accept FastCGI requests.
  89. ; Valid syntaxes are:
  90. ;   'ip.add.re.ss:port'    - to listen on a TCP socket to a specific address on
  91. ;                            a specific port;
  92. ;   'port'                 - to listen on a TCP socket to all addresses on a
  93. ;                            specific port;
  94. ;   '/path/to/unix/socket' - to listen on a unix socket.
  95. ; Note: This value is mandatory.
  96. ;listen = 127.0.0.1:9000
  97. listen = /var/run/php5-fpm.sock
  98.  
  99. ; Set listen(2) backlog. A value of '-1' means unlimited.
  100. ; Default Value: 128 (-1 on FreeBSD and OpenBSD)
  101. ;listen.backlog = -1
  102.  
  103. ; List of ipv4 addresses of FastCGI clients which are allowed to connect.
  104. ; Equivalent to the FCGI_WEB_SERVER_ADDRS environment variable in the original
  105. ; PHP FCGI (5.2.2+). Makes sense only with a tcp listening socket. Each address
  106. ; must be separated by a comma. If this value is left blank, connections will be
  107. ; accepted from any ip address.
  108. ; Default Value: any
  109. ;listen.allowed_clients = 127.0.0.1
  110.  
  111. ; Set permissions for unix socket, if one is used. In Linux, read/write
  112. ; permissions must be set in order to allow connections from a web server. Many
  113. ; BSD-derived systems allow connections regardless of permissions.
  114. ; Default Values: user and group are set as the running user
  115. ;                 mode is set to 0666
  116. ;listen.owner = www-data
  117. ;listen.group = www-data
  118. ;listen.mode = 0666
  119.  
  120. ; Unix user/group of processes
  121. ; Note: The user is mandatory. If the group is not set, the default user's group
  122. ;       will be used.
  123. user = www-data
  124. group = www-data
  125.  
  126. ; Choose how the process manager will control the number of child processes.
  127. ; Possible Values:
  128. ;   static  - a fixed number (pm.max_children) of child processes;
  129. ;   dynamic - the number of child processes are set dynamically based on the
  130. ;             following directives:
  131. ;             pm.max_children      - the maximum number of children that can
  132. ;                                    be alive at the same time.
  133. ;             pm.start_servers     - the number of children created on startup.
  134. ;             pm.min_spare_servers - the minimum number of children in 'idle'
  135. ;                                    state (waiting to process). If the number
  136. ;                                    of 'idle' processes is less than this
  137. ;                                    number then some children will be created.
  138. ;             pm.max_spare_servers - the maximum number of children in 'idle'
  139. ;                                    state (waiting to process). If the number
  140. ;                                    of 'idle' processes is greater than this
  141. ;                                    number then some children will be killed.
  142. ; Note: This value is mandatory.
  143. pm = dynamic
  144.  
  145. ; The number of child processes to be created when pm is set to 'static' and the
  146. ; maximum number of child processes to be created when pm is set to 'dynamic'.
  147. ; This value sets the limit on the number of simultaneous requests that will be
  148. ; served. Equivalent to the ApacheMaxClients directive with mpm_prefork.
  149. ; Equivalent to the PHP_FCGI_CHILDREN environment variable in the original PHP
  150. ; CGI.
  151. ; Note: Used when pm is set to either 'static' or 'dynamic'
  152. ; Note: This value is mandatory.
  153. pm.max_children = 50
  154.  
  155. ; The number of child processes created on startup.
  156. ; Note: Used only when pm is set to 'dynamic'
  157. ; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2
  158. pm.start_servers = 20
  159.  
  160. ; The desired minimum number of idle server processes.
  161. ; Note: Used only when pm is set to 'dynamic'
  162. ; Note: Mandatory when pm is set to 'dynamic'
  163. pm.min_spare_servers = 5
  164.  
  165. ; The desired maximum number of idle server processes.
  166. ; Note: Used only when pm is set to 'dynamic'
  167. ; Note: Mandatory when pm is set to 'dynamic'
  168. pm.max_spare_servers = 35
  169.  
  170. ; The number of requests each child process should execute before respawning.
  171. ; This can be useful to work around memory leaks in 3rd party libraries. For
  172. ; endless request processing specify '0'. Equivalent to PHP_FCGI_MAX_REQUESTS.
  173. ; Default Value: 0
  174. pm.max_requests = 500
  175.  
  176. ; The URI to view the FPM status page. If this value is not set, no URI will be
  177. ; recognized as a status page. By default, the status page shows the following
  178. ; information:
  179. ;   accepted conn        - the number of request accepted by the pool;
  180. ;   pool                 - the name of the pool;
  181. ;   process manager      - static or dynamic;
  182. ;   idle processes       - the number of idle processes;
  183. ;   active processes     - the number of active processes;
  184. ;   total processes      - the number of idle + active processes.
  185. ;   max children reached - number of times, the process limit has been reached,
  186. ;                          when pm tries to start more children (works only for
  187. ;                          pm 'dynamic')
  188. ; The values of 'idle processes', 'active processes' and 'total processes' are
  189. ; updated each second. The value of 'accepted conn' is updated in real time.
  190. ; Example output:
  191. ;   accepted conn:        12073
  192. ;   pool:                 www
  193. ;   process manager:      static
  194. ;   idle processes:       35
  195. ;   active processes:     65
  196. ;   total processes:      100
  197. ;   max children reached: 1
  198. ; By default the status page output is formatted as text/plain. Passing either
  199. ; 'html' or 'json' as a query string will return the corresponding output
  200. ; syntax. Example:
  201. ;   http://www.foo.bar/status
  202. ;   http://www.foo.bar/status?json
  203. ;   http://www.foo.bar/status?html
  204. ; Note: The value must start with a leading slash (/). The value can be
  205. ;       anything, but it may not be a good idea to use the .php extension or it
  206. ;       may conflict with a real PHP file.
  207. ; Default Value: not set
  208. pm.status_path = /status
  209.  
  210. ; The ping URI to call the monitoring page of FPM. If this value is not set, no
  211. ; URI will be recognized as a ping page. This could be used to test from outside
  212. ; that FPM is alive and responding, or to
  213. ; - create a graph of FPM availability (rrd or such);
  214. ; - remove a server from a group if it is not responding (load balancing);
  215. ; - trigger alerts for the operating team (24/7).
  216. ; Note: The value must start with a leading slash (/). The value can be
  217. ;       anything, but it may not be a good idea to use the .php extension or it
  218. ;       may conflict with a real PHP file.
  219. ; Default Value: not set
  220. ping.path = /ping
  221.  
  222. ; This directive may be used to customize the response of a ping request. The
  223. ; response is formatted as text/plain with a 200 response code.
  224. ; Default Value: pong
  225. ping.response = pong
  226.  
  227. ; The timeout for serving a single request after which the worker process will
  228. ; be killed. This option should be used when the 'max_execution_time' ini option
  229. ; does not stop script execution for some reason. A value of '0' means 'off'.
  230. ; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
  231. ; Default Value: 0
  232. ;request_terminate_timeout = 0
  233.  
  234. ; The timeout for serving a single request after which a PHP backtrace will be
  235. ; dumped to the 'slowlog' file. A value of '0s' means 'off'.
  236. ; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
  237. ; Default Value: 0
  238. ;request_slowlog_timeout = 0
  239.  
  240. ; The log file for slow requests
  241. ; Default Value: not set
  242. ; Note: slowlog is mandatory if request_slowlog_timeout is set
  243. ;slowlog = log/$pool.log.slow
  244.  
  245. ; Set open file descriptor rlimit.
  246. ; Default Value: system defined value
  247. ;rlimit_files = 1024
  248.  
  249. ; Set max core size rlimit.
  250. ; Possible Values: 'unlimited' or an integer greater or equal to 0
  251. ; Default Value: system defined value
  252. ;rlimit_core = 0
  253.  
  254. ; Chroot to this directory at the start. This value must be defined as an
  255. ; absolute path. When this value is not set, chroot is not used.
  256. ; Note: you can prefix with '$prefix' to chroot to the pool prefix or one
  257. ; of its subdirectories. If the pool prefix is not set, the global prefix
  258. ; will be used instead.
  259. ; Note: chrooting is a great security feature and should be used whenever
  260. ;       possible. However, all PHP paths will be relative to the chroot
  261. ;       (error_log, sessions.save_path, ...).
  262. ; Default Value: not set
  263. ;chroot =
  264.  
  265. ; Chdir to this directory at the start.
  266. ; Note: relative path can be used.
  267. ; Default Value: current directory or / when chroot
  268. ;chdir = /var/www
  269.  
  270. ; Redirect worker stdout and stderr into main error log. If not set, stdout and
  271. ; stderr will be redirected to /dev/null according to FastCGI specs.
  272. ; Note: on highloaded environement, this can cause some delay in the page
  273. ; process time (several ms).
  274. ; Default Value: no
  275. ;catch_workers_output = yes
  276.  
  277. ; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from
  278. ; the current environment.
  279. ; Default Value: clean env
  280. ;env[HOSTNAME] = $HOSTNAME
  281. ;env[PATH] = /usr/local/bin:/usr/bin:/bin
  282. ;env[TMP] = /tmp
  283. ;env[TMPDIR] = /tmp
  284. ;env[TEMP] = /tmp
  285.  
  286. ; Additional php.ini defines, specific to this pool of workers. These settings
  287. ; overwrite the values previously defined in the php.ini. The directives are the
  288. ; same as the PHP SAPI:
  289. ;   php_value/php_flag             - you can set classic ini defines which can
  290. ;                                    be overwritten from PHP call 'ini_set'.
  291. ;   php_admin_value/php_admin_flag - these directives won't be overwritten by
  292. ;                                     PHP call 'ini_set'
  293. ; For php_*flag, valid values are on, off, 1, 0, true, false, yes or no.
  294.  
  295. ; Defining 'extension' will load the corresponding shared extension from
  296. ; extension_dir. Defining 'disable_functions' or 'disable_classes' will not
  297. ; overwrite previously defined php.ini values, but will append the new value
  298. ; instead.
  299.  
  300. ; Note: path INI options can be relative and will be expanded with the prefix
  301. ; (pool, global or /opt/php5)
  302.  
  303. ; Default Value: nothing is defined by default except the values in php.ini and
  304. ;                specified at startup with the -d argument
  305. ;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com
  306. ;php_flag[display_errors] = off
  307. ;php_admin_value[error_log] = /var/log/fpm-php.www.log
  308. ;php_admin_flag[log_errors] = on
  309. ;php_admin_value[memory_limit] = 32M
  310.  
  311. php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top