Skip to content

Commit 7d884d8

Browse files
author
foobar
committed
MFH
1 parent 106d6a7 commit 7d884d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sapi/cli/php_cli.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,8 @@ int main(int argc, char *argv[])
394394

395395
/* Set some CLI defaults */
396396
SG(options) |= SAPI_OPTION_NO_CHDIR;
397-
zend_alter_ini_entry("html_errors", 12, "0", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
397+
zend_alter_ini_entry("register_argc_argv", 19, "1", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
398+
zend_alter_ini_entry("html_errors", 12, "0", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
398399
zend_alter_ini_entry("implicit_flush", 15, "1", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
399400
zend_alter_ini_entry("max_execution_time", 19, "0", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
400401

0 commit comments

Comments
 (0)