Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions appendices/ini.core.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1495,44 +1495,44 @@ include_path = ".:${USER}/pear/php"
</note>
</listitem>
</varlistentry>

<varlistentry xml:id="ini.cgi.rfc2616-headers">
<term>
<parameter>cgi.rfc2616_headers</parameter>
<type>int</type>
<type>bool</type>
</term>
<listitem>
<para>
Tells PHP what type of headers to use when sending HTTP response
code. If it's set to 0, 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 set to 1, PHP will send <link xlink:href="&url.rfc;2616">RFC 2616</link> compliant
headers.
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.
</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");
Comment on lines 1513 to 1516
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to get rid of the "you" usage here

</para>
<para>
Leave it set to 0 unless you know what you're doing.
Leave it disabled unless you know what you're doing.
</para>
</listitem>
</varlistentry>

<varlistentry xml:id="ini.fastcgi.impersonate">
<term>
<parameter>fastcgi.impersonate</parameter>
<type>string</type>
<type>bool</type>
</term>
<listitem>
<para>
FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
security tokens of the calling client. This allows IIS to define the
security context that the request runs under. mod_fastcgi under Apache
does not currently support this feature (03/17/2002)
Set to 1 if running under IIS. Default is zero.
Enable if running under IIS. Default is disabled.
</para>
</listitem>
</varlistentry>
Expand Down
4 changes: 2 additions & 2 deletions reference/mysqli/ini.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@
<varlistentry xml:id="ini.mysqli.allow-local-infile">
<term>
<parameter>mysqli.allow_local_infile</parameter>
<type>int</type>
<type>bool</type>
</term>
<listitem>
<para>
Expand All @@ -132,7 +132,7 @@
<varlistentry xml:id="ini.mysqli.allow-persistent">
<term>
<parameter>mysqli.allow_persistent</parameter>
<type>int</type>
<type>bool</type>
</term>
<listitem>
<para>
Expand Down
Loading