mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-19 00:13:33 +00:00
lang/php72 and lang/php73: improve documentation of php-fpm specific www.conf
If you only define a port to listen in www.conf, PHP defaults to listen only to IPv6 ports on FreeBSD. On other OS it listens to IPv6 and IPv4. Since upstream do not want to fix this [1], we add this special case to the documentation. Because the configuration file is a @sample it wont be updated for already changed files. Therefore i do not bump PORTREVISION. PR: 235141 Submitted by: Artyom Davidov <ard_1@mail.ru> [1] https://bugs.php.net/bug.php?id=74166
This commit is contained in:
parent
c20cced1b3
commit
bb44095a30
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=491300
17
lang/php72/files/patch-sapi_fpm_www.conf.in
Normal file
17
lang/php72/files/patch-sapi_fpm_www.conf.in
Normal file
@ -0,0 +1,17 @@
|
||||
--- sapi/fpm/www.conf.in.orig 2019-01-26 15:54:27 UTC
|
||||
+++ sapi/fpm/www.conf.in
|
||||
@@ -27,10 +27,14 @@ group = @php_fpm_group@
|
||||
; Valid syntaxes are:
|
||||
; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific IPv4 address on
|
||||
; a specific port;
|
||||
+; '0.0.0.0:port' - to listen on a TCP socket to all IPv4 addresses on
|
||||
+; a specific port;
|
||||
; '[ip:6:addr:ess]:port' - to listen on a TCP socket to a specific IPv6 address on
|
||||
; a specific port;
|
||||
; 'port' - to listen on a TCP socket to all addresses
|
||||
; (IPv6 and IPv4-mapped) on a specific port;
|
||||
+; Note: IPv4-mapped addresses are disabled by-default in
|
||||
+; FreeBSD for security reasons;
|
||||
; '/path/to/unix/socket' - to listen on a unix socket.
|
||||
; Note: This value is mandatory.
|
||||
listen = 127.0.0.1:9000
|
17
lang/php73/files/patch-sapi_fpm_www.conf.in
Normal file
17
lang/php73/files/patch-sapi_fpm_www.conf.in
Normal file
@ -0,0 +1,17 @@
|
||||
--- sapi/fpm/www.conf.in.orig 2019-01-26 15:54:27 UTC
|
||||
+++ sapi/fpm/www.conf.in
|
||||
@@ -27,10 +27,14 @@ group = @php_fpm_group@
|
||||
; Valid syntaxes are:
|
||||
; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific IPv4 address on
|
||||
; a specific port;
|
||||
+; '0.0.0.0:port' - to listen on a TCP socket to all IPv4 addresses on
|
||||
+; a specific port;
|
||||
; '[ip:6:addr:ess]:port' - to listen on a TCP socket to a specific IPv6 address on
|
||||
; a specific port;
|
||||
; 'port' - to listen on a TCP socket to all addresses
|
||||
; (IPv6 and IPv4-mapped) on a specific port;
|
||||
+; Note: IPv4-mapped addresses are disabled by-default in
|
||||
+; FreeBSD for security reasons;
|
||||
; '/path/to/unix/socket' - to listen on a unix socket.
|
||||
; Note: This value is mandatory.
|
||||
listen = 127.0.0.1:9000
|
Loading…
Reference in New Issue
Block a user