mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
bb44095a30
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
18 lines
954 B
Plaintext
18 lines
954 B
Plaintext
--- 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
|