diff options
| -rw-r--r-- | main/main.c | 2 | ||||
| -rw-r--r-- | php.ini-dist | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/main/main.c b/main/main.c index 4af274ebd6..1f1be3de87 100644 --- a/main/main.c +++ b/main/main.c @@ -291,7 +291,7 @@ PHP_INI_BEGIN()  	STD_PHP_INI_ENTRY("output_handler",			NULL,		PHP_INI_PERDIR|PHP_INI_SYSTEM,	OnUpdateString,	output_handler,		php_core_globals,	core_globals)  	STD_PHP_INI_BOOLEAN("register_argc_argv",	"1",		PHP_INI_PERDIR|PHP_INI_SYSTEM,	OnUpdateBool,	register_argc_argv,		php_core_globals,	core_globals)  	STD_PHP_INI_BOOLEAN("register_globals",		"0",		PHP_INI_PERDIR|PHP_INI_SYSTEM,	OnUpdateBool,	register_globals,		php_core_globals,	core_globals) -	STD_PHP_INI_BOOLEAN("register_long_arrays",	"0",		PHP_INI_PERDIR|PHP_INI_SYSTEM,	OnUpdateBool,	register_long_arrays,	php_core_globals,	core_globals) +	STD_PHP_INI_BOOLEAN("register_long_arrays",	"1",		PHP_INI_PERDIR|PHP_INI_SYSTEM,	OnUpdateBool,	register_long_arrays,	php_core_globals,	core_globals)  #if PHP_SAFE_MODE  	STD_PHP_INI_BOOLEAN("safe_mode",			"1",		PHP_INI_SYSTEM,		OnUpdateBool,			safe_mode,				php_core_globals,	core_globals)  #else diff --git a/php.ini-dist b/php.ini-dist index c7e586970c..de61d45ed1 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -364,7 +364,7 @@ register_globals = Off  ; Whether or not to register the old-style input arrays, HTTP_GET_VARS  ; and friends.  If you're not using them, it's recommended to turn them off,  ; for performance reasons. -register_long_arrays = Off +register_long_arrays = On  ; This directive tells PHP whether to declare the argv&argc variables (that  ; would contain the GET information).  If you don't use these variables, you | 
