Skip to content

Commit 90787fd

Browse files
authored
Clarify type of a few INI values (#4347)
1 parent 74ba8fe commit 90787fd

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

appendices/ini.core.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1495,44 +1495,44 @@ include_path = ".:${USER}/pear/php"
14951495
</note>
14961496
</listitem>
14971497
</varlistentry>
1498-
1498+
14991499
<varlistentry xml:id="ini.cgi.rfc2616-headers">
15001500
<term>
15011501
<parameter>cgi.rfc2616_headers</parameter>
1502-
<type>int</type>
1502+
<type>bool</type>
15031503
</term>
15041504
<listitem>
15051505
<para>
15061506
Tells PHP what type of headers to use when sending HTTP response
1507-
code. If it's set to 0, PHP sends a <link xlink:href="&url.rfc;3875">RFC 3875</link>
1508-
"Status:" header that is supported by Apache and other web servers. When this option
1509-
is set to 1, PHP will send <link xlink:href="&url.rfc;2616">RFC 2616</link> compliant
1510-
headers.
1507+
code. If it is disabled, PHP sends a <link xlink:href="&url.rfc;3875">RFC 3875</link>
1508+
"Status:" header that is supported by Apache and other web servers. When this option
1509+
is enabled, PHP will send <link xlink:href="&url.rfc;2616">RFC 2616</link> compliant
1510+
headers.
15111511
</para>
15121512
<para>
15131513
If this option is enabled, and you are running PHP in a CGI environment (e.g. PHP-FPM)
1514-
you should not use standard RFC 2616 style HTTP status response headers, you should
1515-
instead use their RFC 3875 equivalent e.g. instead of header("HTTP/1.0 404 Not found");
1514+
you should not use standard RFC 2616 style HTTP status response headers, you should
1515+
instead use their RFC 3875 equivalent e.g. instead of header("HTTP/1.0 404 Not found");
15161516
you should use header("Status: 404 Not Found");
15171517
</para>
15181518
<para>
1519-
Leave it set to 0 unless you know what you're doing.
1519+
Leave it disabled unless you know what you're doing.
15201520
</para>
15211521
</listitem>
15221522
</varlistentry>
1523-
1523+
15241524
<varlistentry xml:id="ini.fastcgi.impersonate">
15251525
<term>
15261526
<parameter>fastcgi.impersonate</parameter>
1527-
<type>string</type>
1527+
<type>bool</type>
15281528
</term>
15291529
<listitem>
15301530
<para>
15311531
FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
15321532
security tokens of the calling client. This allows IIS to define the
15331533
security context that the request runs under. mod_fastcgi under Apache
15341534
does not currently support this feature (03/17/2002)
1535-
Set to 1 if running under IIS. Default is zero.
1535+
Enable if running under IIS. Default is disabled.
15361536
</para>
15371537
</listitem>
15381538
</varlistentry>

reference/mysqli/ini.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
<varlistentry xml:id="ini.mysqli.allow-local-infile">
107107
<term>
108108
<parameter>mysqli.allow_local_infile</parameter>
109-
<type>int</type>
109+
<type>bool</type>
110110
</term>
111111
<listitem>
112112
<para>
@@ -132,7 +132,7 @@
132132
<varlistentry xml:id="ini.mysqli.allow-persistent">
133133
<term>
134134
<parameter>mysqli.allow_persistent</parameter>
135-
<type>int</type>
135+
<type>bool</type>
136136
</term>
137137
<listitem>
138138
<para>

0 commit comments

Comments
 (0)