summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2002-05-05 17:12:27 +0000
committerfoobar <sniper@php.net>2002-05-05 17:12:27 +0000
commit7d884d8e7b9eee94bc63a53c3b03561b2812dc5b (patch)
tree7ccf02b9454963964999370f8e9e9fb7795d5049
parent106d6a77cee883ddfef9f1a8e7fb9546e53bc08c (diff)
downloadphp-git-7d884d8e7b9eee94bc63a53c3b03561b2812dc5b.tar.gz
MFH
-rw-r--r--sapi/cli/php_cli.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sapi/cli/php_cli.c b/sapi/cli/php_cli.c
index 33b31f840f..1b1da66b42 100644
--- a/sapi/cli/php_cli.c
+++ b/sapi/cli/php_cli.c
@@ -394,7 +394,8 @@ int main(int argc, char *argv[])
/* Set some CLI defaults */
SG(options) |= SAPI_OPTION_NO_CHDIR;
- zend_alter_ini_entry("html_errors", 12, "0", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
+ zend_alter_ini_entry("register_argc_argv", 19, "1", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
+ zend_alter_ini_entry("html_errors", 12, "0", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
zend_alter_ini_entry("implicit_flush", 15, "1", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);
zend_alter_ini_entry("max_execution_time", 19, "0", 1, PHP_INI_SYSTEM, PHP_INI_STAGE_ACTIVATE);