Skip to content

Commit 298ae37

Browse files
author
Jan Lehnardt
committed
- prepare non-html phpinfo output for zend extensions
1 parent f07b724 commit 298ae37

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sapi/cli/php_cli.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,8 @@ int main(int argc, char *argv[])
459459
zend_alter_ini_entry("implicit_flush", 15, "1", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
460460
zend_alter_ini_entry("max_execution_time", 19, "0", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
461461

462+
zend_uv.html_errors = 0; /* tell the engine we're in non-html mode */
463+
462464
while ((c = ap_php_getopt(argc, argv, OPTSTRING)) != -1) {
463465
switch (c) {
464466

0 commit comments

Comments
 (0)