196963
; Start a new pool named 'www'.
196963
[www]
196963
196963
; The address on which to accept FastCGI requests.
196963
; Valid syntaxes are:
196963
;   'ip.add.re.ss:port'    - to listen on a TCP socket to a specific address on
196963
;                            a specific port;
196963
;   'port'                 - to listen on a TCP socket to all addresses on a
196963
;                            specific port;
196963
;   '/path/to/unix/socket' - to listen on a unix socket.
196963
; Note: This value is mandatory.
196963
listen = 127.0.0.1:9000
196963
196963
; Set listen(2) backlog. A value of '-1' means unlimited.
196963
; Default Value: -1
196963
;listen.backlog = -1
196963
 
196963
; List of ipv4 addresses of FastCGI clients which are allowed to connect.
196963
; Equivalent to the FCGI_WEB_SERVER_ADDRS environment variable in the original
196963
; PHP FCGI (5.2.2+). Makes sense only with a tcp listening socket. Each address
196963
; must be separated by a comma. If this value is left blank, connections will be
196963
; accepted from any ip address.
196963
; Default Value: any
196963
listen.allowed_clients = 127.0.0.1
196963
196963
; Set permissions for unix socket, if one is used. In Linux, read/write
196963
; permissions must be set in order to allow connections from a web server. Many
196963
; BSD-derived systems allow connections regardless of permissions. 
196963
; Default Values: user and group are set as the running user
196963
;                 mode is set to 0666
196963
;listen.owner = nobody
196963
;listen.group = nobody
196963
;listen.mode = 0666
196963
196963
; Unix user/group of processes
196963
; Note: The user is mandatory. If the group is not set, the default user's group
196963
;       will be used.
196963
; RPM: apache Choosed to be able to access some dir as httpd
196963
user = apache
196963
; RPM: Keep a group allowed to write in log dir.
196963
group = apache
196963
196963
; Choose how the process manager will control the number of child processes.
196963
; Possible Values:
196963
;   static  - a fixed number (pm.max_children) of child processes;
196963
;   dynamic - the number of child processes are set dynamically based on the
196963
;             following directives:
196963
;             pm.max_children      - the maximum number of children that can
196963
;                                    be alive at the same time.
196963
;             pm.start_servers     - the number of children created on startup.
196963
;             pm.min_spare_servers - the minimum number of children in 'idle'
196963
;                                    state (waiting to process). If the number
196963
;                                    of 'idle' processes is less than this
196963
;                                    number then some children will be created.
196963
;             pm.max_spare_servers - the maximum number of children in 'idle'
196963
;                                    state (waiting to process). If the number
196963
;                                    of 'idle' processes is greater than this
196963
;                                    number then some children will be killed.
196963
; Note: This value is mandatory.
196963
pm = dynamic
196963
196963
; The number of child processes to be created when pm is set to 'static' and the
196963
; maximum number of child processes to be created when pm is set to 'dynamic'.
196963
; This value sets the limit on the number of simultaneous requests that will be
196963
; served. Equivalent to the ApacheMaxClients directive with mpm_prefork.
196963
; Equivalent to the PHP_FCGI_CHILDREN environment variable in the original PHP
196963
; CGI.
196963
; Note: Used when pm is set to either 'static' or 'dynamic'
196963
; Note: This value is mandatory.
196963
pm.max_children = 50
196963
196963
; The number of child processes created on startup.
196963
; Note: Used only when pm is set to 'dynamic'
196963
; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2
196963
pm.start_servers = 5
196963
196963
; The desired minimum number of idle server processes.
196963
; Note: Used only when pm is set to 'dynamic'
196963
; Note: Mandatory when pm is set to 'dynamic'
196963
pm.min_spare_servers = 5
196963
196963
; The desired maximum number of idle server processes.
196963
; Note: Used only when pm is set to 'dynamic'
196963
; Note: Mandatory when pm is set to 'dynamic'
196963
pm.max_spare_servers = 35
196963
 
196963
; The number of requests each child process should execute before respawning.
196963
; This can be useful to work around memory leaks in 3rd party libraries. For
196963
; endless request processing specify '0'. Equivalent to PHP_FCGI_MAX_REQUESTS.
196963
; Default Value: 0
196963
;pm.max_requests = 500
196963
196963
; The URI to view the FPM status page. If this value is not set, no URI will be
196963
; recognized as a status page. By default, the status page shows the following
196963
; information:
196963
;   accepted conn    - the number of request accepted by the pool;
196963
;   pool             - the name of the pool;
196963
;   process manager  - static or dynamic;
196963
;   idle processes   - the number of idle processes;
196963
;   active processes - the number of active processes;
196963
;   total processes  - the number of idle + active processes.
196963
; The values of 'idle processes', 'active processes' and 'total processes' are
196963
; updated each second. The value of 'accepted conn' is updated in real time.
196963
; Example output:
196963
;   accepted conn:   12073
196963
;   pool:             www
196963
;   process manager:  static
196963
;   idle processes:   35
196963
;   active processes: 65
196963
;   total processes:  100
196963
; By default the status page output is formatted as text/plain. Passing either
196963
; 'html' or 'json' as a query string will return the corresponding output
196963
; syntax. Example:
196963
;   http://www.foo.bar/status
196963
;   http://www.foo.bar/status?json
196963
;   http://www.foo.bar/status?html
196963
; Note: The value must start with a leading slash (/). The value can be
196963
;       anything, but it may not be a good idea to use the .php extension or it
196963
;       may conflict with a real PHP file.
196963
; Default Value: not set 
196963
;pm.status_path = /status
196963
 
196963
; The ping URI to call the monitoring page of FPM. If this value is not set, no
196963
; URI will be recognized as a ping page. This could be used to test from outside
196963
; that FPM is alive and responding, or to
196963
; - create a graph of FPM availability (rrd or such);
196963
; - remove a server from a group if it is not responding (load balancing);
196963
; - trigger alerts for the operating team (24/7).
196963
; Note: The value must start with a leading slash (/). The value can be
196963
;       anything, but it may not be a good idea to use the .php extension or it
196963
;       may conflict with a real PHP file.
196963
; Default Value: not set
196963
;ping.path = /ping
196963
196963
; This directive may be used to customize the response of a ping request. The
196963
; response is formatted as text/plain with a 200 response code.
196963
; Default Value: pong
196963
;ping.response = pong
196963
 
196963
; The timeout for serving a single request after which the worker process will
196963
; be killed. This option should be used when the 'max_execution_time' ini option
196963
; does not stop script execution for some reason. A value of '0' means 'off'.
196963
; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
196963
; Default Value: 0
196963
;request_terminate_timeout = 0
196963
 
196963
; The timeout for serving a single request after which a PHP backtrace will be
196963
; dumped to the 'slowlog' file. A value of '0s' means 'off'.
196963
; Available units: s(econds)(default), m(inutes), h(ours), or d(ays)
196963
; Default Value: 0
196963
;request_slowlog_timeout = 0
196963
 
196963
; The log file for slow requests
196963
; Default Value: not set
196963
; Note: slowlog is mandatory if request_slowlog_timeout is set
196963
slowlog = /var/log/php-fpm/www-slow.log
196963
 
196963
; Set open file descriptor rlimit.
196963
; Default Value: system defined value
196963
;rlimit_files = 1024
196963
 
196963
; Set max core size rlimit.
196963
; Possible Values: 'unlimited' or an integer greater or equal to 0
196963
; Default Value: system defined value
196963
;rlimit_core = 0
196963
 
196963
; Chroot to this directory at the start. This value must be defined as an
196963
; absolute path. When this value is not set, chroot is not used.
196963
; Note: chrooting is a great security feature and should be used whenever 
196963
;       possible. However, all PHP paths will be relative to the chroot
196963
;       (error_log, sessions.save_path, ...).
196963
; Default Value: not set
196963
;chroot = 
196963
 
196963
; Chdir to this directory at the start. This value must be an absolute path.
196963
; Default Value: current directory or / when chroot
196963
;chdir = /var/www
196963
 
196963
; Redirect worker stdout and stderr into main error log. If not set, stdout and
196963
; stderr will be redirected to /dev/null according to FastCGI specs.
196963
; Default Value: no
196963
;catch_workers_output = yes
196963
 
196963
; Limits the extensions of the main script FPM will allow to parse. This can
196963
; prevent configuration mistakes on the web server side. You should only limit
196963
; FPM to .php extensions to prevent malicious users to use other extensions to
196963
; exectute php code.
196963
; Note: set an empty value to allow all extensions.
196963
; Default Value: .php
196963
;security.limit_extensions = .php .php3 .php4 .php5
196963
196963
; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from
196963
; the current environment.
196963
; Default Value: clean env
196963
;env[HOSTNAME] = $HOSTNAME
196963
;env[PATH] = /usr/local/bin:/usr/bin:/bin
196963
;env[TMP] = /tmp
196963
;env[TMPDIR] = /tmp
196963
;env[TEMP] = /tmp
196963
196963
; Additional php.ini defines, specific to this pool of workers. These settings
196963
; overwrite the values previously defined in the php.ini. The directives are the
196963
; same as the PHP SAPI:
196963
;   php_value/php_flag             - you can set classic ini defines which can
196963
;                                    be overwritten from PHP call 'ini_set'. 
196963
;   php_admin_value/php_admin_flag - these directives won't be overwritten by
196963
;                                     PHP call 'ini_set'
196963
; For php_*flag, valid values are on, off, 1, 0, true, false, yes or no.
196963
196963
; Defining 'extension' will load the corresponding shared extension from
196963
; extension_dir. Defining 'disable_functions' or 'disable_classes' will not
196963
; overwrite previously defined php.ini values, but will append the new value
196963
; instead.
196963
196963
; Default Value: nothing is defined by default except the values in php.ini and
196963
;                specified at startup with the -d argument
196963
;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com
196963
;php_flag[display_errors] = off
196963
php_admin_value[error_log] = /var/log/php-fpm/www-error.log
196963
php_admin_flag[log_errors] = on
196963
;php_admin_value[memory_limit] = 128M
196963
196963
; Set session path to a directory owned by process user
196963
php_value[session.save_handler] = files
196963
php_value[session.save_path] = /var/lib/php/session
196963