diff options
author | Torsten Zuehlsdorff <tz@FreeBSD.org> | 2019-01-26 16:32:28 +0000 |
---|---|---|
committer | Torsten Zuehlsdorff <tz@FreeBSD.org> | 2019-01-26 16:32:28 +0000 |
commit | bb44095a305abb0c401d5703a78c67ba1ec49ad2 (patch) | |
tree | ebcffd3a4fcfb86ff9639676ecbd6988e0f6861f /lang/php73 | |
parent | c20cced1b3fc5e363b64201841bfd94cbe507a72 (diff) | |
download | freebsd-ports-bb44095a305abb0c401d5703a78c67ba1ec49ad2.zip |
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
Diffstat (limited to 'lang/php73')
-rw-r--r-- | lang/php73/files/patch-sapi_fpm_www.conf.in | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/php73/files/patch-sapi_fpm_www.conf.in b/lang/php73/files/patch-sapi_fpm_www.conf.in new file mode 100644 index 000000000000..c7e7fe399854 --- /dev/null +++ b/lang/php73/files/patch-sapi_fpm_www.conf.in @@ -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 |