1 --- php-5.3.6/sapi/fpm/php-fpm.conf.in 2011-04-22 15:16:07.304822817 +0300
2 +++ php-5.3.6/sapi/fpm/php-fpm.conf.in 2011-04-22 15:19:46.991588712 +0300
5 ; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@
7 -;pid = run/php-fpm.pid
8 +pid = /var/run/php/fpm.pid
11 ; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@
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
19 ; Set listen(2) backlog. A value of '-1' means unlimited.
20 ; Default Value: 128 (-1 on FreeBSD and OpenBSD)
22 ; must be separated by a comma. If this value is left blank, connections will be
23 ; accepted from any ip address.
25 -;listen.allowed_clients = 127.0.0.1
26 +listen.allowed_clients = 127.0.0.1
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
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'
34 -;pm.min_spare_servers = 5
35 +pm.min_spare_servers = 5
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'
40 -;pm.max_spare_servers = 35
41 +pm.max_spare_servers = 35
43 ; The number of requests each child process should execute before respawning.
44 ; This can be useful to work around memory leaks in 3rd party libraries. For
46 ; the current environment.
47 ; Default Value: clean env
48 ;env[HOSTNAME] = $HOSTNAME
49 -;env[PATH] = /usr/local/bin:/usr/bin:/bin