From 14eff76b815bcddfcb5b64d6111443ade0f61a61 Mon Sep 17 00:00:00 2001 From: narkunan Date: Sat, 11 Apr 2026 21:15:54 +0530 Subject: [PATCH 1/6] Updated possible values for display errors INI configurations --- reference/errorfunc/ini.xml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/reference/errorfunc/ini.xml b/reference/errorfunc/ini.xml index c10661d09894..6c4f24dac97a 100644 --- a/reference/errorfunc/ini.xml +++ b/reference/errorfunc/ini.xml @@ -208,6 +208,29 @@ This determines whether errors should be printed to the screen as part of the output or if they should be hidden from the user. + + Possible Values: + + + + Off = Do not display any errors + + + stderr = Display errors to STDERR (affects only CGI/CLI binaries!) + + + On or stdout = Display errors to STDOUT + + + Default Value: On + + + Development Value: On + + + Production Value: Off + + Value "stderr" sends the errors to stderr instead of stdout. From 943a7b69296543cd06ce21fc5a9b9b84204db8e5 Mon Sep 17 00:00:00 2001 From: narkunan Date: Sat, 11 Apr 2026 21:25:11 +0530 Subject: [PATCH 2/6] Wrap listitem in para tag --- reference/errorfunc/ini.xml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/reference/errorfunc/ini.xml b/reference/errorfunc/ini.xml index 6c4f24dac97a..1e01cd81e134 100644 --- a/reference/errorfunc/ini.xml +++ b/reference/errorfunc/ini.xml @@ -213,22 +213,22 @@ - Off = Do not display any errors + Off = Do not display any errors - stderr = Display errors to STDERR (affects only CGI/CLI binaries!) + stderr = Display errors to STDERR (affects only CGI/CLI binaries!) - On or stdout = Display errors to STDOUT + On or stdout = Display errors to STDOUT - Default Value: On + Default Value: On - Development Value: On + Development Value: On - Production Value: Off + Production Value: Off From e0919c0c33d74bf97cc653e7580cd8cadece3661 Mon Sep 17 00:00:00 2001 From: narkunan Date: Fri, 24 Apr 2026 11:41:56 +0530 Subject: [PATCH 3/6] Used Simple list for display error possible values instead of listitem --- reference/errorfunc/ini.xml | 33 ++++++++++++--------------------- 1 file changed, 12 insertions(+), 21 deletions(-) diff --git a/reference/errorfunc/ini.xml b/reference/errorfunc/ini.xml index 1e01cd81e134..7a9716ff9681 100644 --- a/reference/errorfunc/ini.xml +++ b/reference/errorfunc/ini.xml @@ -209,28 +209,19 @@ as part of the output or if they should be hidden from the user. - Possible Values: + The accepted values are: + + + Off: do not display any errors. + + + On or stdout: display errors to stdout. This is the default. + + + stderr: display errors to stderr. Only effective for the CLI and CGI SAPIs. + + - - - Off = Do not display any errors - - - stderr = Display errors to STDERR (affects only CGI/CLI binaries!) - - - On or stdout = Display errors to STDOUT - - - Default Value: On - - - Development Value: On - - - Production Value: Off - - Value "stderr" sends the errors to stderr instead of stdout. From 997bc9b05f0817f3b0f72ffd0c5ed3f4ec202f3c Mon Sep 17 00:00:00 2001 From: narkunan Date: Fri, 24 Apr 2026 11:49:57 +0530 Subject: [PATCH 4/6] Updated ini.xml with recommended value for php.ini-development and production --- reference/errorfunc/ini.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/reference/errorfunc/ini.xml b/reference/errorfunc/ini.xml index 7a9716ff9681..3f11024cbbcc 100644 --- a/reference/errorfunc/ini.xml +++ b/reference/errorfunc/ini.xml @@ -208,6 +208,9 @@ This determines whether errors should be printed to the screen as part of the output or if they should be hidden from the user. + + Possible Values: + The accepted values are: @@ -232,6 +235,11 @@ on production systems (e.g. systems connected to the internet). + + The bundled php.ini-development sets this to + On; php.ini-production sets + it to Off. + Although display_errors may be set at runtime (with ini_set), From e9cba69ade16f8b73cce8b35df9607160f9feab8 Mon Sep 17 00:00:00 2001 From: narkunan Date: Fri, 24 Apr 2026 13:13:51 +0530 Subject: [PATCH 5/6] Included phpdbg in the sapi --- reference/errorfunc/ini.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/errorfunc/ini.xml b/reference/errorfunc/ini.xml index 3f11024cbbcc..17c09bf99621 100644 --- a/reference/errorfunc/ini.xml +++ b/reference/errorfunc/ini.xml @@ -221,7 +221,7 @@ On or stdout: display errors to stdout. This is the default. - stderr: display errors to stderr. Only effective for the CLI and CGI SAPIs. + stderr: display errors to stderr. Only effective for the CLI,phpdbgandCGI SAPIs. From e91c53c52ace2b12ff145c2843ef0fb5458bb96f Mon Sep 17 00:00:00 2001 From: narkunan Date: Fri, 24 Apr 2026 13:21:02 +0530 Subject: [PATCH 6/6] Removed redundant para --- reference/errorfunc/ini.xml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/reference/errorfunc/ini.xml b/reference/errorfunc/ini.xml index 17c09bf99621..5bef48dcf7d6 100644 --- a/reference/errorfunc/ini.xml +++ b/reference/errorfunc/ini.xml @@ -225,15 +225,11 @@ - - Value "stderr" sends the errors to stderr - instead of stdout. - - + This is a feature to support your development and should never be used on production systems (e.g. systems connected to the internet). - + The bundled php.ini-development sets this to