]> 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/php56-5.6.2-1
authorElan Ruusamäe <glen@delfi.ee>
Mon, 27 Oct 2014 06:41:55 +0000 (08:41 +0200)
committerElan Ruusamäe <glen@delfi.ee>
Mon, 27 Oct 2014 06:41:55 +0000 (08:41 +0200)
php-fpm-config.patch

index aa3f4c1d8f9770ef47313c7d150354603f094cd3..cb2b91d853abf8d54a949a632d60fe3b88f1cc00 100644 (file)
@@ -29,9 +29,9 @@
 +;  - the global prefix if it's been set (-p argument)
 +;  - @prefix@ otherwise
 +include=/etc/php/fpm.d/*.conf
---- php-5.6.2/sapi/fpm/php-fpm.conf-d.in       2014-10-27 08:15:35.350075839 +0200
-+++ php-5.6.2.old/sapi/fpm/php-fpm.conf-d.in   2014-10-27 08:07:47.762117299 +0200
-@@ -30,7 +32,7 @@
+--- php-5.6.2.old/sapi/fpm/php-fpm.conf-d.in   2014-10-27 08:07:47.762117299 +0200
++++ php-5.6.2/sapi/fpm/php-fpm.conf-d.in       2014-10-27 08:23:41.232196777 +0200
+@@ -32,7 +32,7 @@
  ;                            specific port;
  ;   '/path/to/unix/socket' - to listen on a unix socket.
  ; Note: This value is mandatory.
  
  ; Set listen(2) backlog.
  ; Default Value: 65535 (-1 on FreeBSD and OpenBSD)
-@@ -51,7 +53,7 @@
+@@ -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
+@@ -53,7 +53,7 @@
  ; must be separated by a comma. If this value is left blank, connections will be
  ; accepted from any ip address.
  ; Default Value: any
@@ -49,7 +62,7 @@
  
  ; Specify the nice(2) priority to apply to the pool processes (only if set)
  ; The value can vary from -19 (highest priority) to 20 (lower priority)
-@@ -370,7 +372,7 @@
+@@ -372,7 +372,7 @@
  ; the current environment.
  ; Default Value: clean env
  ;env[HOSTNAME] = $HOSTNAME
This page took 0.615131 seconds and 4 git commands to generate.