]> git.pld-linux.org Git - packages/php.git/commitdiff
set fpm socket rw accessible by http group by default (instead of root:root) auto/th/php53-5.3.29-3
authorElan Ruusamäe <glen@delfi.ee>
Mon, 27 Oct 2014 06:04:02 +0000 (08:04 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 27 Oct 2014 06:04:02 +0000 (08:04 +0200)
php-fpm-config.patch
php.spec

index 8eaa9c6b15e84964f8abfa925873d6e631a75373..8f5bf23a9a9a520dccfda4ed02322e9cf70ceac1 100644 (file)
@@ -17,8 +17,8 @@
  
  ; syslog_facility is used to specify what type of program is logging the
  ; message. This lets syslogd specify that messages from different facilities
---- php-5.3.29/sapi/fpm/php-fpm.conf-d.in      2014-10-27 07:54:50.120026865 +0200
-+++ php-5.3.29.old/sapi/fpm/php-fpm.conf-d.in  2014-10-27 07:46:00.639222822 +0200
+--- php-5.3.29.old/sapi/fpm/php-fpm.conf-d.in  2014-10-27 07:46:00.639222822 +0200
++++ php-5.3.29/sapi/fpm/php-fpm.conf-d.in      2014-10-27 08:02:11.543472244 +0200
 @@ -30,7 +30,7 @@
  ;                            specific port;
  ;   '/path/to/unix/socket' - to listen on a unix socket.
  
  ; Set listen(2) backlog. A value of '-1' means unlimited.
  ; Default Value: 128 (-1 on FreeBSD and OpenBSD)
+@@ -41,9 +41,9 @@
+ ; BSD-derived systems allow connections regardless of permissions. 
+ ; Default Values: user and group are set as the running user
+ ;                 mode is set to 0660
+-;listen.owner = @php_fpm_user@
+-;listen.group = @php_fpm_group@
+-;listen.mode = 0660
++listen.owner = root
++listen.group = @php_fpm_group@
++listen.mode = 0660
+  
+ ; List of ipv4 addresses of FastCGI clients which are allowed to connect.
+ ; Equivalent to the FCGI_WEB_SERVER_ADDRS environment variable in the original
 @@ -51,7 +51,7 @@
  ; must be separated by a comma. If this value is left blank, connections will be
  ; accepted from any ip address.
index 53039f96e79fdec02baefebf141d518cac2b8488..650933885fdcf8f5673fdbbedd1a7f2f987cb385 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -119,7 +119,7 @@ ERROR: You need to select at least one Apache SAPI to build shared modules.
 %endif
 %endif
 
-%define                rel     2
+%define                rel     3
 %define                orgname php
 %define                ver_suffix 53
 %define                php_suffix %{!?with_default_php:%{ver_suffix}}
This page took 0.078048 seconds and 4 git commands to generate.