Skip to content

Commit

Permalink
Fix a bunch of trailing whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
jimwins committed Dec 27, 2024
1 parent 2d7597e commit 8c36a59
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions appendices/ini.core.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1495,7 +1495,7 @@ include_path = ".:${USER}/pear/php"
</note>
</listitem>
</varlistentry>

<varlistentry xml:id="ini.cgi.rfc2616-headers">
<term>
<parameter>cgi.rfc2616_headers</parameter>
Expand All @@ -1504,23 +1504,23 @@ include_path = ".:${USER}/pear/php"
<listitem>
<para>
Tells PHP what type of headers to use when sending HTTP response
code. If it is disabled, PHP sends a <link xlink:href="&url.rfc;3875">RFC 3875</link>
"Status:" header that is supported by Apache and other web servers. When this option
code. If it is disabled, PHP sends a <link xlink:href="&url.rfc;3875">RFC 3875</link>
"Status:" header that is supported by Apache and other web servers. When this option
is enabled, PHP will send <link xlink:href="&url.rfc;2616">RFC 2616</link> compliant
headers.
headers.
</para>
<para>
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");
</para>
<para>
Leave it disabled unless you know what you're doing.
</para>
</listitem>
</varlistentry>

<varlistentry xml:id="ini.fastcgi.impersonate">
<term>
<parameter>fastcgi.impersonate</parameter>
Expand Down

0 comments on commit 8c36a59

Please sign in to comment.