|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; Include one or more files. If glob(3) exists, it is used to include a bunch of
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
include=/etc/php-fpm.d/*.conf
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
[global]
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
pid = /run/php-fpm/php-fpm.pid
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; Error log file
|
|
 |
1ccd29 |
; If it's set to "syslog", log is sent to syslogd instead of being written
|
|
 |
1ccd29 |
; in a local file.
|
|
 |
1ccd29 |
; Default Value: /var/log/php-fpm.log
|
|
 |
1ccd29 |
error_log = /var/log/php-fpm/error.log
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; syslog_facility is used to specify what type of program is logging the
|
|
 |
1ccd29 |
; message. This lets syslogd specify that messages from different facilities
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; See syslog(3) for possible values (ex daemon equiv LOG_DAEMON)
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; which must suit common needs.
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; Possible Values: alert, error, warning, notice, debug
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; Log limit on number of characters in the single line (log entry). If the
|
|
 |
1ccd29 |
; line is over the limit, it is wrapped on multiple lines. The limit is for
|
|
 |
1ccd29 |
; all logged characters including message prefix and suffix if present. However
|
|
 |
1ccd29 |
; the new line character does not count into it as it is present only when
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; Log buffering specifies if the log line is buffered which means that the
|
|
 |
1ccd29 |
; line is written in a single write operation. If the value is false, then the
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; option that can potentionaly improve logging performance and memory usage
|
|
 |
1ccd29 |
; for some heavy logging scenarios. This option is ignored if logging to syslog
|
|
 |
1ccd29 |
; as it has to be always buffered.
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; If this number of child processes exit with SIGSEGV or SIGBUS within the time
|
|
 |
1ccd29 |
; interval set by emergency_restart_interval then FPM will restart. A value
|
|
 |
1ccd29 |
; of '0' means 'Off'.
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; Interval of time used by emergency_restart_interval to determine when
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; Available Units: s(econds), m(inutes), h(ours), or d(ays)
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; Time limit for child processes to wait for a reaction on signals from master.
|
|
 |
1ccd29 |
; Available units: s(econds), m(inutes), h(ours), or d(ays)
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; the global number of processes when using dynamic PM within a lot of pools.
|
|
 |
1ccd29 |
; Use it with caution.
|
|
 |
1ccd29 |
; Note: A value of 0 indicates no limit
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; The value can vary from -19 (highest priority) to 20 (lowest priority)
|
|
 |
1ccd29 |
; Note: - It will only work if the FPM master process is launched as root
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; Default Value: no set
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging.
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
daemonize = yes
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; Set open file descriptor rlimit for the master process.
|
|
 |
1ccd29 |
; Default Value: system defined value
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; Set max core size rlimit for the master process.
|
|
 |
1ccd29 |
; Possible Values: 'unlimited' or an integer greater or equal to 0
|
|
 |
1ccd29 |
; Default Value: system defined value
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; - select (any POSIX os)
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; Default Value: not set (auto detection)
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; When FPM is built with systemd integration, specify the interval,
|
|
 |
1ccd29 |
; in seconds, between health report notification to systemd.
|
|
 |
1ccd29 |
; Set to 0 to disable.
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; Multiple pools of child processes may be started with different listening
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
; used in logs and stats. There is no limitation on the number of pools which
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|
|
 |
1ccd29 |
|