]> git.pld-linux.org Git - packages/php.git/blame - php-fpm-config.patch
browscap trigger: disable browscap if file it points to does not exist
[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
1ffcc879 17+pid = /var/run/@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
1d730684 25+error_log = /var/log/php/@processname@.log
d307ed78
ER
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
65a7e5f2
ER
56--- php-5.3.9/sapi/fpm/status.html.in~ 2011-10-08 23:43:12.000000000 +0300
57+++ php-5.3.9/sapi/fpm/status.html.in 2012-01-12 02:19:09.573191879 +0200
58@@ -96,7 +96,7 @@
59 var sort_index;
60 var sort_order;
61
62- doc_url.value = location.protocol + '//' + location.host + "/status?json&full";
63+ doc_url.value = location.protocol + '//' + location.host + "/fpm-status?json&full";
64
65 ths = document.getElementsByTagName("th");
66 for (var i=0; i<ths.length; i++) {
67--- php-5.4.18/sapi/fpm/Makefile.frag~ 2013-08-14 08:47:24.000000000 +0300
68+++ php-5.4.18/sapi/fpm/Makefile.frag 2013-08-29 10:20:38.161424172 +0300
69@@ -12,7 +12,7 @@
70
71 @echo "Installing PHP FPM config: $(INSTALL_ROOT)$(sysconfdir)/" && \
72 $(mkinstalldirs) $(INSTALL_ROOT)$(sysconfdir) || :
73- @$(INSTALL_DATA) sapi/fpm/php-fpm.conf $(INSTALL_ROOT)$(sysconfdir)/php-fpm.conf.default || :
74+ @$(INSTALL_DATA) sapi/fpm/php-fpm.conf $(INSTALL_ROOT)$(sysconfdir)/php-fpm.conf || :
75
76 @echo "Installing PHP FPM man page: $(INSTALL_ROOT)$(mandir)/man8/"
77 @$(mkinstalldirs) $(INSTALL_ROOT)$(mandir)/man8
This page took 0.108545 seconds and 4 git commands to generate.