|
Lines 8-14
Link Here
|
| 8 |
; Include one or more files. If glob(3) exists, it is used to include a bunch of |
8 |
; Include one or more files. If glob(3) exists, it is used to include a bunch of |
| 9 |
; files from a glob(3) pattern. This directive can be used everywhere in the |
9 |
; files from a glob(3) pattern. This directive can be used everywhere in the |
| 10 |
; file. |
10 |
; file. |
| 11 |
;include=/etc/fpm.d/*.conf |
11 |
;include=/etc/php/fpm-php5/fpm.d/*.conf |
| 12 |
|
12 |
|
| 13 |
;;;;;;;;;;;;;;;;;; |
13 |
;;;;;;;;;;;;;;;;;; |
| 14 |
; Global Options ; |
14 |
; Global Options ; |
|
Lines 17-27
Link Here
|
| 17 |
[global] |
17 |
[global] |
| 18 |
; Pid file |
18 |
; Pid file |
| 19 |
; Default Value: none |
19 |
; Default Value: none |
| 20 |
;pid = /var/lib/run/php-fpm.pid |
20 |
;pid = /var/run/php-fpm.pid |
| 21 |
|
21 |
|
| 22 |
; Error log file |
22 |
; Error log file |
| 23 |
; Default Value: /var/lib/log/php-fpm.log |
23 |
; Default Value: /var/lib/log/php-fpm.log |
| 24 |
;error_log = /var/lib/log/php-fpm.log |
24 |
error_log = /var/log/php-fpm.log |
| 25 |
|
25 |
|
| 26 |
; Log level |
26 |
; Log level |
| 27 |
; Possible Values: alert, error, warning, notice, debug |
27 |
; Possible Values: alert, error, warning, notice, debug |
|
Lines 133-149
Link Here
|
| 133 |
; The number of child processes created on startup. |
133 |
; The number of child processes created on startup. |
| 134 |
; Note: Used only when pm is set to 'dynamic' |
134 |
; Note: Used only when pm is set to 'dynamic' |
| 135 |
; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2 |
135 |
; Default Value: min_spare_servers + (max_spare_servers - min_spare_servers) / 2 |
| 136 |
;pm.start_servers = 20 |
136 |
pm.start_servers = 20 |
| 137 |
|
137 |
|
| 138 |
; The desired minimum number of idle server processes. |
138 |
; The desired minimum number of idle server processes. |
| 139 |
; Note: Used only when pm is set to 'dynamic' |
139 |
; Note: Used only when pm is set to 'dynamic' |
| 140 |
; Note: Mandatory when pm is set to 'dynamic' |
140 |
; Note: Mandatory when pm is set to 'dynamic' |
| 141 |
;pm.min_spare_servers = 5 |
141 |
pm.min_spare_servers = 5 |
| 142 |
|
142 |
|
| 143 |
; The desired maximum number of idle server processes. |
143 |
; The desired maximum number of idle server processes. |
| 144 |
; Note: Used only when pm is set to 'dynamic' |
144 |
; Note: Used only when pm is set to 'dynamic' |
| 145 |
; Note: Mandatory when pm is set to 'dynamic' |
145 |
; Note: Mandatory when pm is set to 'dynamic' |
| 146 |
;pm.max_spare_servers = 35 |
146 |
pm.max_spare_servers = 35 |
| 147 |
|
147 |
|
| 148 |
; The number of requests each child process should execute before respawning. |
148 |
; The number of requests each child process should execute before respawning. |
| 149 |
; This can be useful to work around memory leaks in 3rd party libraries. For |
149 |
; This can be useful to work around memory leaks in 3rd party libraries. For |
|
Lines 213-219
Link Here
|
| 213 |
|
213 |
|
| 214 |
; The log file for slow requests |
214 |
; The log file for slow requests |
| 215 |
; Default Value: /var/lib/log/php-fpm.log.slow |
215 |
; Default Value: /var/lib/log/php-fpm.log.slow |
| 216 |
;slowlog = /var/lib/log/php-fpm.log.slow |
216 |
;slowlog = /var/log/php-fpm.log.slow |
| 217 |
|
217 |
|
| 218 |
; Set open file descriptor rlimit. |
218 |
; Set open file descriptor rlimit. |
| 219 |
; Default Value: system defined value |
219 |
; Default Value: system defined value |