github.com/ddev/ddev@v1.23.2-0.20240519125000-d824ffe36ff3/containers/ddev-webserver/ddev-webserver-base-files/etc/php/7.4/fpm/php-fpm.conf (about)

     1  ;;;;;;;;;;;;;;;;;;;;;
     2  ; FPM Configuration ;
     3  ;;;;;;;;;;;;;;;;;;;;;
     4  
     5  ; All relative paths in this configuration file are relative to PHP's install
     6  ; prefix (/usr). This prefix can be dynamically changed by using the
     7  ; '-p' argument from the command line.
     8  
     9  ;;;;;;;;;;;;;;;;;;
    10  ; Global Options ;
    11  ;;;;;;;;;;;;;;;;;;
    12  
    13  [global]
    14  ; Pid file
    15  ; Note: the default prefix is /var
    16  ; Default Value: none
    17  pid = /run/php/php7.4-fpm.pid
    18  
    19  ; Error log file
    20  ; If it's set to "syslog", log is sent to syslogd instead of being written
    21  ; in a local file.
    22  ; Note: the default prefix is /var
    23  ; Default Value: log/php-fpm.log
    24  ; Output to stdout, where supervisord will manage it.
    25  error_log = /dev/stdout
    26  
    27  ; syslog_facility is used to specify what type of program is logging the
    28  ; message. This lets syslogd specify that messages from different facilities
    29  ; will be handled differently.
    30  ; See syslog(3) for possible values (ex daemon equiv LOG_DAEMON)
    31  ; Default Value: daemon
    32  ;syslog.facility = daemon
    33  
    34  ; syslog_ident is prepended to every message. If you have multiple FPM
    35  ; instances running on the same server, you can change the default value
    36  ; which must suit common needs.
    37  ; Default Value: php-fpm
    38  ;syslog.ident = php-fpm
    39  
    40  ; Log level
    41  ; Possible Values: alert, error, warning, notice, debug
    42  ; Default Value: notice
    43  ;log_level = notice
    44  
    45  ; If this number of child processes exit with SIGSEGV or SIGBUS within the time
    46  ; interval set by emergency_restart_interval then FPM will restart. A value
    47  ; of '0' means 'Off'.
    48  ; Default Value: 0
    49  ;emergency_restart_threshold = 0
    50  
    51  ; Interval of time used by emergency_restart_interval to determine when
    52  ; a graceful restart will be initiated.  This can be useful to work around
    53  ; accidental corruptions in an accelerator's shared memory.
    54  ; Available Units: s(econds), m(inutes), h(ours), or d(ays)
    55  ; Default Unit: seconds
    56  ; Default Value: 0
    57  ;emergency_restart_interval = 0
    58  
    59  ; Time limit for child processes to wait for a reaction on signals from master.
    60  ; Available units: s(econds), m(inutes), h(ours), or d(ays)
    61  ; Default Unit: seconds
    62  ; Default Value: 0
    63  ;process_control_timeout = 0
    64  
    65  ; The maximum number of processes FPM will fork. This has been design to control
    66  ; the global number of processes when using dynamic PM within a lot of pools.
    67  ; Use it with caution.
    68  ; Note: A value of 0 indicates no limit
    69  ; Default Value: 0
    70  ; process.max = 128
    71  
    72  ; Specify the nice(2) priority to apply to the master process (only if set)
    73  ; The value can vary from -19 (highest priority) to 20 (lower priority)
    74  ; Note: - It will only work if the FPM master process is launched as root
    75  ;       - The pool process will inherit the master process priority
    76  ;         unless it specified otherwise
    77  ; Default Value: no set
    78  ; process.priority = -19
    79  
    80  ; Send FPM to background. Set to 'no' to keep FPM in foreground for debugging.
    81  ; Default Value: yes
    82  daemonize = no
    83  
    84  ; Set open file descriptor rlimit for the master process.
    85  ; Default Value: system defined value
    86  ;rlimit_files = 1024
    87  
    88  ; Set max core size rlimit for the master process.
    89  ; Possible Values: 'unlimited' or an integer greater or equal to 0
    90  ; Default Value: system defined value
    91  ;rlimit_core = 0
    92  
    93  ; Specify the event mechanism FPM will use. The following is available:
    94  ; - select     (any POSIX os)
    95  ; - poll       (any POSIX os)
    96  ; - epoll      (linux >= 2.5.44)
    97  ; - kqueue     (FreeBSD >= 4.1, OpenBSD >= 2.9, NetBSD >= 2.0)
    98  ; - /dev/poll  (Solaris >= 7)
    99  ; - port       (Solaris >= 10)
   100  ; Default Value: not set (auto detection)
   101  ;events.mechanism = epoll
   102  
   103  ; When FPM is build with systemd integration, specify the interval,
   104  ; in second, between health report notification to systemd.
   105  ; Set to 0 to disable.
   106  ; Available Units: s(econds), m(inutes), h(ours)
   107  ; Default Unit: seconds
   108  ; Default value: 10
   109  ;systemd_interval = 10
   110  
   111  ;;;;;;;;;;;;;;;;;;;;
   112  ; Pool Definitions ;
   113  ;;;;;;;;;;;;;;;;;;;;
   114  
   115  ; Multiple pools of child processes may be started with different listening
   116  ; ports and different management options.  The name of the pool will be
   117  ; used in logs and stats. There is no limitation on the number of pools which
   118  ; FPM can handle. Your system will tell you anyway :)
   119  
   120  ; Include one or more files. If glob(3) exists, it is used to include a bunch of
   121  ; files from a glob(3) pattern. This directive can be used everywhere in the
   122  ; file.
   123  ; Relative path can also be used. They will be prefixed by:
   124  ;  - the global prefix if it's been set (-p argument)
   125  ;  - /usr otherwise
   126  include = /etc/php/7.4/fpm/pool.d/*.conf