Blame SOURCES/php-fpm.conf

a53bc2
;;;;;;;;;;;;;;;;;;;;;
a53bc2
; FPM Configuration ;
a53bc2
;;;;;;;;;;;;;;;;;;;;;
a53bc2
a53bc2
; All relative paths in this configuration file are relative to PHP's install
a53bc2
; prefix.
a53bc2
a53bc2
; Include one or more files. If glob(3) exists, it is used to include a bunch of
a53bc2
; files from a glob(3) pattern. This directive can be used everywhere in the
a53bc2
; file.
a53bc2
include=/etc/php-fpm.d/*.conf
a53bc2
a53bc2
;;;;;;;;;;;;;;;;;;
a53bc2
; Global Options ;
a53bc2
;;;;;;;;;;;;;;;;;;
a53bc2
a53bc2
[global]
a53bc2
; Pid file
a53bc2
; Default Value: none
a53bc2
pid = /run/php-fpm/php-fpm.pid
a53bc2
a53bc2
; Error log file
a53bc2
; If it's set to "syslog", log is sent to syslogd instead of being written
a53bc2
; in a local file.
a53bc2
; Default Value: /var/log/php-fpm.log
a53bc2
error_log = /var/log/php-fpm/error.log
a53bc2
a53bc2
; syslog_facility is used to specify what type of program is logging the
a53bc2
; message. This lets syslogd specify that messages from different facilities
a53bc2
; will be handled differently.
a53bc2
; See syslog(3) for possible values (ex daemon equiv LOG_DAEMON)
a53bc2
; Default Value: daemon
a53bc2
;syslog.facility = daemon
a53bc2
a53bc2
; syslog_ident is prepended to every message. If you have multiple FPM
a53bc2
; instances running on the same server, you can change the default value
a53bc2
; which must suit common needs.
a53bc2
; Default Value: php-fpm
a53bc2
;syslog.ident = php-fpm
a53bc2
a53bc2
; Log level
a53bc2
; Possible Values: alert, error, warning, notice, debug
a53bc2
; Default Value: notice
a53bc2
;log_level = notice
a53bc2
a53bc2
; If this number of child processes exit with SIGSEGV or SIGBUS within the time
a53bc2
; interval set by emergency_restart_interval then FPM will restart. A value
a53bc2
; of '0' means 'Off'.
a53bc2
; Default Value: 0
a53bc2
;emergency_restart_threshold = 0
a53bc2
a53bc2
; Interval of time used by emergency_restart_interval to determine when 
a53bc2
; a graceful restart will be initiated.  This can be useful to work around
a53bc2
; accidental corruptions in an accelerator's shared memory.
a53bc2
; Available Units: s(econds), m(inutes), h(ours), or d(ays)
a53bc2
; Default Unit: seconds
a53bc2
; Default Value: 0
a53bc2
;emergency_restart_interval = 0
a53bc2
a53bc2
; Time limit for child processes to wait for a reaction on signals from master.
a53bc2
; Available units: s(econds), m(inutes), h(ours), or d(ays)
a53bc2
; Default Unit: seconds
a53bc2
; Default Value: 0
a53bc2
;process_control_timeout = 0
a53bc2
a53bc2
; The maximum number of processes FPM will fork. This has been design to control
a53bc2
; the global number of processes when using dynamic PM within a lot of pools.
a53bc2
; Use it with caution.
a53bc2
; Note: A value of 0 indicates no limit
a53bc2
; Default Value: 0
a53bc2
;process.max = 128
a53bc2
a53bc2
; Specify the nice(2) priority to apply to the master process (only if set)
a53bc2
; The value can vary from -19 (highest priority) to 20 (lower priority)
a53bc2
; Note: - It will only work if the FPM master process is launched as root
a53bc2
;       - The pool process will inherit the master process priority
a53bc2
;         unless it specified otherwise
a53bc2
; Default Value: no set
a53bc2
;process.priority = -19
a53bc2
a53bc2
; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging.
a53bc2
; Default Value: yes
a53bc2
daemonize = yes
a53bc2
a53bc2
; Set open file descriptor rlimit for the master process.
a53bc2
; Default Value: system defined value
a53bc2
;rlimit_files = 1024
a53bc2
a53bc2
; Set max core size rlimit for the master process.
a53bc2
; Possible Values: 'unlimited' or an integer greater or equal to 0
a53bc2
; Default Value: system defined value
a53bc2
;rlimit_core = 0
a53bc2
a53bc2
; Specify the event mechanism FPM will use. The following is available:
a53bc2
; - select     (any POSIX os)
a53bc2
; - poll       (any POSIX os)
a53bc2
; - epoll      (linux >= 2.5.44)
a53bc2
; Default Value: not set (auto detection)
a53bc2
;events.mechanism = epoll
a53bc2
a53bc2
; When FPM is build with systemd integration, specify the interval,
a53bc2
; in second, between health report notification to systemd.
a53bc2
; Set to 0 to disable.
a53bc2
; Available Units: s(econds), m(inutes), h(ours)
a53bc2
; Default Unit: seconds
a53bc2
; Default value: 10
a53bc2
;systemd_interval = 10
a53bc2
a53bc2
;;;;;;;;;;;;;;;;;;;;
a53bc2
; Pool Definitions ; 
a53bc2
;;;;;;;;;;;;;;;;;;;;
a53bc2
a53bc2
; Multiple pools of child processes may be started with different listening
a53bc2
; ports and different management options.  The name of the pool will be
a53bc2
; used in logs and stats. There is no limitation on the number of pools which
a53bc2
; FPM can handle. Your system will tell you anyway :)
a53bc2
a53bc2
; See /etc/php-fpm.d/*.conf
a53bc2