Skip to content

Updated possible values for display errors INI configurations#5486

Open
Narkunan wants to merge 2 commits intophp:masterfrom
Narkunan:display_errors-only-documents-2-values
Open

Updated possible values for display errors INI configurations#5486
Narkunan wants to merge 2 commits intophp:masterfrom
Narkunan:display_errors-only-documents-2-values

Conversation

@Narkunan
Copy link
Copy Markdown
Contributor

@Narkunan Narkunan commented Apr 11, 2026

Fix issue #2525

Comment on lines +211 to +213
<para>
Possible Values:
</para>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
<para>
Possible Values:
</para>
<simpara>
Possible Values:
</simpara>

Comment on lines +214 to +233
<itemizedlist>
<listitem>
<para>Off = Do not display any errors</para>
</listitem>
<listitem>
<para>stderr = Display errors to <literal>STDERR</literal> (affects only CGI/CLI binaries!)</para>
</listitem>
<listitem>
<para> On or stdout = Display errors to <literal>STDOUT</literal></para>
</listitem>
<listitem>
<para> Default Value: On</para>
</listitem>
<listitem>
<para>Development Value: On</para>
</listitem>
<listitem>
<para>Production Value: Off</para>
</listitem>
</itemizedlist>
Copy link
Copy Markdown
Member

@lacatoire lacatoire Apr 21, 2026

Choose a reason for hiding this comment

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

Suggested change
<itemizedlist>
<listitem>
<para>Off = Do not display any errors</para>
</listitem>
<listitem>
<para>stderr = Display errors to <literal>STDERR</literal> (affects only CGI/CLI binaries!)</para>
</listitem>
<listitem>
<para> On or stdout = Display errors to <literal>STDOUT</literal></para>
</listitem>
<listitem>
<para> Default Value: On</para>
</listitem>
<listitem>
<para>Development Value: On</para>
</listitem>
<listitem>
<para>Production Value: Off</para>
</listitem>
</itemizedlist>
<para>
The accepted values are:
<simplelist>
<member>
<literal>Off</literal>: do not display any errors.
</member>
<member>
<literal>On</literal> or <literal>stdout</literal>: display errors to <literal>stdout</literal>. This is the default.
</member>
<member>
<literal>stderr</literal>: display errors to <literal>stderr</literal>. Only effective for the <literal>CLI</literal> and <literal>CGI</literal> SAPIs.
</member>
</simplelist>
</para>

Comment on lines 234 to 237
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
<simpara>
The bundled <literal>php.ini-development</literal> sets this to
<literal>On</literal>; <literal>php.ini-production</literal> sets
it to <literal>Off</literal>.
</simpara>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants