Blame SOURCES/php-fpm.conf

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