diff --git a/appendices/ini.core.xml b/appendices/ini.core.xml index 2adc5a73e50c..1fe0c37978cf 100644 --- a/appendices/ini.core.xml +++ b/appendices/ini.core.xml @@ -1495,7 +1495,7 @@ include_path = ".:${USER}/pear/php" - + cgi.rfc2616_headers @@ -1504,15 +1504,15 @@ include_path = ".:${USER}/pear/php" Tells PHP what type of headers to use when sending HTTP response - code. If it is disabled, PHP sends a RFC 3875 - "Status:" header that is supported by Apache and other web servers. When this option + code. If it is disabled, PHP sends a RFC 3875 + "Status:" header that is supported by Apache and other web servers. When this option is enabled, PHP will send RFC 2616 compliant - headers. + headers. If this option is enabled, and you are running PHP in a CGI environment (e.g. PHP-FPM) - you should not use standard RFC 2616 style HTTP status response headers, you should - instead use their RFC 3875 equivalent e.g. instead of header("HTTP/1.0 404 Not found"); + you should not use standard RFC 2616 style HTTP status response headers, you should + instead use their RFC 3875 equivalent e.g. instead of header("HTTP/1.0 404 Not found"); you should use header("Status: 404 Not Found"); @@ -1520,7 +1520,7 @@ include_path = ".:${USER}/pear/php" - + fastcgi.impersonate