Line
Link Here
|
0 |
-- a/sapi/fpm/php-fpm.conf.in |
0 |
++ b/sapi/fpm/php-fpm.conf.in |
Lines 12-18
Link Here
|
12 |
; Relative path can also be used. They will be prefixed by: |
12 |
; Relative path can also be used. They will be prefixed by: |
13 |
; - the global prefix if it's been set (-p argument) |
13 |
; - the global prefix if it's been set (-p argument) |
14 |
; - @prefix@ otherwise |
14 |
; - @prefix@ otherwise |
15 |
;include=etc/fpm.d/*.conf |
15 |
include = /etc/php/fpm-php@SLOT@/fpm.d/*.conf |
16 |
|
16 |
|
17 |
;;;;;;;;;;;;;;;;;; |
17 |
;;;;;;;;;;;;;;;;;; |
18 |
; Global Options ; |
18 |
; Global Options ; |
Lines 22-27
Link Here
|
22 |
; Pid file |
22 |
; Pid file |
23 |
; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@ |
23 |
; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@ |
24 |
; Default Value: none |
24 |
; Default Value: none |
|
|
25 |
; Warning: pid file is overriden by the Gentoo init script. |
26 |
; FPM will refuse to start if you uncomment this settingi and make use of the |
27 |
; init script. |
25 |
;pid = run/php-fpm.pid |
28 |
;pid = run/php-fpm.pid |
26 |
|
29 |
|
27 |
; Error log file |
30 |
; Error log file |
Lines 29-35
Link Here
|
29 |
; in a local file. |
32 |
; in a local file. |
30 |
; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@ |
33 |
; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@ |
31 |
; Default Value: log/php-fpm.log |
34 |
; Default Value: log/php-fpm.log |
32 |
;error_log = log/php-fpm.log |
35 |
error_log = /var/log/php-fpm.log |
33 |
|
36 |
|
34 |
; syslog_facility is used to specify what type of program is logging the |
37 |
; syslog_facility is used to specify what type of program is logging the |
35 |
; message. This lets syslogd specify that messages from different facilities |
38 |
; message. This lets syslogd specify that messages from different facilities |
Lines 373-379
pm.max_spare_servers = 3
Link Here
|
373 |
|
376 |
|
374 |
; The access log file |
377 |
; The access log file |
375 |
; Default: not set |
378 |
; Default: not set |
376 |
;access.log = log/$pool.access.log |
379 |
;access.log = /var/log/php-fpm-$pool.access.log |
377 |
|
380 |
|
378 |
; The access log format. |
381 |
; The access log format. |
379 |
; The following syntax is allowed |
382 |
; The following syntax is allowed |
Lines 433-439
pm.max_spare_servers = 3
Link Here
|
433 |
; The log file for slow requests |
436 |
; The log file for slow requests |
434 |
; Default Value: not set |
437 |
; Default Value: not set |
435 |
; Note: slowlog is mandatory if request_slowlog_timeout is set |
438 |
; Note: slowlog is mandatory if request_slowlog_timeout is set |
436 |
;slowlog = log/$pool.log.slow |
439 |
;slowlog = /var/log/php-fpm-$pool.log.slow |
437 |
|
440 |
|
438 |
; The timeout for serving a single request after which a PHP backtrace will be |
441 |
; The timeout for serving a single request after which a PHP backtrace will be |
439 |
; dumped to the 'slowlog' file. A value of '0s' means 'off'. |
442 |
; dumped to the 'slowlog' file. A value of '0s' means 'off'. |