]> git.pld-linux.org Git - packages/php.git/blob - php-fpm-config.patch
779e8cd6cd27f0dff352799d01adabf5aacd894d
[packages/php.git] / php-fpm-config.patch
1 --- php-5.4.7/sapi/fpm/php-fpm.conf.in~ 2012-10-05 22:15:59.000000000 +0300
2 +++ php-5.4.7/sapi/fpm/php-fpm.conf.in  2012-10-05 22:16:44.895998479 +0300
3 @@ -22,14 +22,14 @@
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/@processname@.pid
9  
10  ; Error log file
11  ; If it's set to "syslog", log is sent to syslogd instead of being written
12  ; in a local file.
13  ; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@
14  ; Default Value: log/php-fpm.log
15 -;error_log = log/php-fpm.log
16 +error_log = log/@processname@.log
17  
18  ; syslog_facility is used to specify what type of program is logging the
19  ; message. This lets syslogd specify that messages from different facilities
20 @@ -93,7 +93,7 @@
21  ;                            specific port;
22  ;   '/path/to/unix/socket' - to listen on a unix socket.
23  ; Note: This value is mandatory.
24 -listen = 127.0.0.1:9000
25 +listen = /var/run/php/@processname@.sock
26  
27  ; Set listen(2) backlog. A value of '-1' means unlimited.
28  ; Default Value: 128 (-1 on FreeBSD and OpenBSD)
29 @@ -105,7 +105,7 @@
30  ; must be separated by a comma. If this value is left blank, connections will be
31  ; accepted from any ip address.
32  ; Default Value: any
33 -;listen.allowed_clients = 127.0.0.1
34 +listen.allowed_clients = 127.0.0.1
35  
36  ; Set permissions for unix socket, if one is used. In Linux, read/write
37  ; permissions must be set in order to allow connections from a web server. Many
38 @@ -277,7 +277,7 @@
39  ; the current environment.
40  ; Default Value: clean env
41  ;env[HOSTNAME] = $HOSTNAME
42 -;env[PATH] = /usr/local/bin:/usr/bin:/bin
43 +env[PATH] = $PATH
44  ;env[TMP] = /tmp
45  ;env[TMPDIR] = /tmp
46  ;env[TEMP] = /tmp
This page took 0.031013 seconds and 3 git commands to generate.