mirror of
https://github.com/php/php-src.git
synced 2026-03-24 00:02:20 +01:00
main: Change the register_argc_argv INI default to Off (#19473)
This partly implements the deprecation of the `register_argc_argv` INI setting by updating the default value to ensure safe behavior when no INI file is loaded. The actual deprecation warning will follow separately. RFC: https://wiki.php.net/rfc/deprecations_php_8_5#deprecate_the_register_argc_argv_ini_directive
This commit is contained in:
@@ -129,11 +129,6 @@
|
||||
; Development Value: 4096
|
||||
; Production Value: 4096
|
||||
|
||||
; register_argc_argv
|
||||
; Default Value: On
|
||||
; Development Value: Off
|
||||
; Production Value: Off
|
||||
|
||||
; request_order
|
||||
; Default Value: None
|
||||
; Development Value: "GP"
|
||||
@@ -665,14 +660,12 @@ request_order = "GP"
|
||||
; that were passed when the script was invoked. These arrays are extremely
|
||||
; useful when running scripts from the command line. When this directive is
|
||||
; enabled, registering these variables consumes CPU cycles and memory each time
|
||||
; a script is executed. For performance reasons, this feature should be disabled
|
||||
; on production servers.
|
||||
; a script is executed. For security reasons, this feature should be disabled
|
||||
; for non-CLI SAPIs.
|
||||
; Note: This directive is hardcoded to On for the CLI SAPI
|
||||
; Default Value: On
|
||||
; Development Value: Off
|
||||
; Production Value: Off
|
||||
; This directive is deprecated.
|
||||
; https://php.net/register-argc-argv
|
||||
register_argc_argv = Off
|
||||
;register_argc_argv = Off
|
||||
|
||||
; When enabled, the ENV, REQUEST and SERVER variables are created when they're
|
||||
; first used (Just In Time) instead of when the script starts. If these
|
||||
|
||||
Reference in New Issue
Block a user