]> TLD Linux GIT Repositories - packages/php.git/blob - php-fpm-config.patch
- PHP_5_4 branch from PLD
[packages/php.git] / php-fpm-config.patch
1 --- php-5.4.7/sapi/fpm/php-fpm.conf.in  2012-10-05 22:16:44.895998479 +0300
2 +++ php-5.3.17/sapi/fpm/php-fpm.conf.in 2012-10-12 12:35:47.601602945 +0300
3 @@ -12,7 +12,7 @@
4  ; Relative path can also be used. They will be prefixed by:
5  ;  - the global prefix if it's been set (-p arguement)
6  ;  - @prefix@ otherwise
7 -;include=etc/fpm.d/*.conf
8 +;include=/etc/php/fpm.d/*.conf
9  
10  ;;;;;;;;;;;;;;;;;;
11  ; Global Options ;
12 @@ -22,14 +22,14 @@
13  ; Pid file
14  ; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@
15  ; Default Value: none
16 -;pid = run/php-fpm.pid
17 +pid = /var/run/@processname@.pid
18  
19  ; Error log file
20  ; If it's set to "syslog", log is sent to syslogd instead of being written
21  ; in a local file.
22  ; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@
23  ; Default Value: log/php-fpm.log
24 -;error_log = log/php-fpm.log
25 +error_log = /var/log/php/@processname@.log
26  
27  ; syslog_facility is used to specify what type of program is logging the
28  ; message. This lets syslogd specify that messages from different facilities
29 @@ -93,7 +93,7 @@
30  ;                            specific port;
31  ;   '/path/to/unix/socket' - to listen on a unix socket.
32  ; Note: This value is mandatory.
33 -listen = 127.0.0.1:9000
34 +listen = /var/run/php/@processname@.sock
35  
36  ; Set listen(2) backlog. A value of '-1' means unlimited.
37  ; Default Value: 128 (-1 on FreeBSD and OpenBSD)
38 @@ -105,7 +105,7 @@
39  ; must be separated by a comma. If this value is left blank, connections will be
40  ; accepted from any ip address.
41  ; Default Value: any
42 -;listen.allowed_clients = 127.0.0.1
43 +listen.allowed_clients = 127.0.0.1
44  
45  ; Set permissions for unix socket, if one is used. In Linux, read/write
46  ; permissions must be set in order to allow connections from a web server. Many
47 @@ -277,7 +277,7 @@
48  ; the current environment.
49  ; Default Value: clean env
50  ;env[HOSTNAME] = $HOSTNAME
51 -;env[PATH] = /usr/local/bin:/usr/bin:/bin
52 +env[PATH] = $PATH
53  ;env[TMP] = /tmp
54  ;env[TMPDIR] = /tmp
55  ;env[TEMP] = /tmp