]> git.pld-linux.org Git - packages/php.git/blame - php-fpm-config.patch
up to 5.5.0alpha3
[packages/php.git] / php-fpm-config.patch
CommitLineData
a7ffa712
ER
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 ;
d307ed78 12@@ -22,14 +22,14 @@
c0240cb1 13 ; Pid file
14 ; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@
15 ; Default Value: none
16-;pid = run/php-fpm.pid
cbcd3660 17+pid = /var/run/php/@processname@.pid
c0240cb1 18
19 ; Error log file
d307ed78
ER
20 ; If it's set to "syslog", log is sent to syslogd instead of being written
21 ; in a local file.
c0240cb1 22 ; Note: the default prefix is @EXPANDED_LOCALSTATEDIR@
d307ed78
ER
23 ; Default Value: log/php-fpm.log
24-;error_log = log/php-fpm.log
25+error_log = log/@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
c0240cb1 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
cbcd3660 34+listen = /var/run/php/@processname@.sock
c0240cb1 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
c0240cb1 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
This page took 0.029636 seconds and 4 git commands to generate.