]>
Commit | Line | Data |
---|---|---|
6d7958ec ER |
1 | --- php-5.3.9/sapi/fpm/php-fpm.conf.in~ 2012-01-11 21:38:12.000000000 +0200 |
2 | +++ php-5.3.9/sapi/fpm/php-fpm.conf.in 2012-01-11 21:39:02.535951773 +0200 | |
a75ee3d7 JP |
3 | @@ -22,7 +22,7 @@ |
4 | ; Pid file | |
5 | ; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@ | |
6 | ; Default Value: none | |
7 | -;pid = run/php-fpm.pid | |
8 | +pid = /var/run/php/fpm.pid | |
9 | ||
10 | ; Error log file | |
11 | ; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@ | |
52ca5276 ER |
12 | @@ -93,7 +93,7 @@ |
13 | ; specific port; | |
14 | ; '/path/to/unix/socket' - to listen on a unix socket. | |
15 | ; Note: This value is mandatory. | |
16 | -listen = 127.0.0.1:9000 | |
17 | +listen = /var/run/php/fpm.sock | |
18 | ||
19 | ; Set listen(2) backlog. A value of '-1' means unlimited. | |
20 | ; Default Value: 128 (-1 on FreeBSD and OpenBSD) | |
21 | @@ -105,7 +105,7 @@ | |
b5727ab6 ER |
22 | ; must be separated by a comma. If this value is left blank, connections will be |
23 | ; accepted from any ip address. | |
24 | ; Default Value: any | |
25 | -;listen.allowed_clients = 127.0.0.1 | |
26 | +listen.allowed_clients = 127.0.0.1 | |
27 | ||
28 | ; Set permissions for unix socket, if one is used. In Linux, read/write | |
29 | ; permissions must be set in order to allow connections from a web server. Many | |
6d7958ec | 30 | @@ -208,12 +208,12 @@ |
a75ee3d7 JP |
31 | ; The desired minimum number of idle server processes. |
32 | ; Note: Used only when pm is set to 'dynamic' | |
33 | ; Note: Mandatory when pm is set to 'dynamic' | |
6d7958ec ER |
34 | -pm.min_spare_servers = 1 |
35 | +pm.min_spare_servers = 2 | |
a75ee3d7 JP |
36 | |
37 | ; The desired maximum number of idle server processes. | |
38 | ; Note: Used only when pm is set to 'dynamic' | |
39 | ; Note: Mandatory when pm is set to 'dynamic' | |
6d7958ec ER |
40 | -pm.max_spare_servers = 3 |
41 | +pm.max_spare_servers = 5 | |
42 | ||
43 | ; The number of seconds after which an idle process will be killed. | |
44 | ; Note: Used only when pm is set to 'ondemand' | |
83e9cbb3 ER |
45 | @@ -214,7 +214,7 @@ |
46 | ; anything, but it may not be a good idea to use the .php extension or it | |
47 | ; may conflict with a real PHP file. | |
48 | ; Default Value: not set | |
49 | -;pm.status_path = /status | |
50 | +;pm.status_path = /fpm-status | |
51 | ||
52 | ; The ping URI to call the monitoring page of FPM. If this value is not set, no | |
53 | ; URI will be recognized as a ping page. This could be used to test from outside | |
52ca5276 | 54 | @@ -277,7 +277,7 @@ |
86a42589 ER |
55 | ; the current environment. |
56 | ; Default Value: clean env | |
57 | ;env[HOSTNAME] = $HOSTNAME | |
58 | -;env[PATH] = /usr/local/bin:/usr/bin:/bin | |
59 | +env[PATH] = $PATH | |
60 | ;env[TMP] = /tmp | |
61 | ;env[TMPDIR] = /tmp | |
62 | ;env[TEMP] = /tmp |