diff --git a/reference/info/functions/ini-set.xml b/reference/info/functions/ini-set.xml index e644ee6698..192e2e8e14 100644 --- a/reference/info/functions/ini-set.xml +++ b/reference/info/functions/ini-set.xml @@ -1,5 +1,5 @@ - + @@ -652,6 +652,11 @@ "1" PHP_INI_ALL + + session.gc_divisor + "100" + PHP_INI_ALL + session.gc_maxlifetime "1440" diff --git a/reference/session/ini.xml b/reference/session/ini.xml index ff62b28e0d..a15907f8c3 100644 --- a/reference/session/ini.xml +++ b/reference/session/ini.xml @@ -1,5 +1,5 @@ - +
&reftitle.runtime; &extension.runtime; @@ -40,6 +40,11 @@ "1" PHP_INI_ALL + + session.gc_divisor + "100" + PHP_INI_ALL + session.gc_maxlifetime "1440" @@ -264,13 +269,34 @@ - session.gc_probability specifies the - probability that the gc (garbage collection) routine is started - on each request in percent. Defaults to 1. + session.gc_probability in conjunction with + session.gc_divisor is used to manage probability + that the gc (garbage collection) routine is started. + Defaults to 1. See session.gc_divisor for details. + + + session.gc_divisor + integer + + + + session.gc_divisor coupled with + session.gc_probability defines the probability + that the gc (garbage collection) process is started on every session + initialization. + The probability is calculated by using gc_probability/gc_divisor, + e.g. 1/100 means there is a 1% chance that the GC process starts + on each request. + session.gc_divisor defaults to 100. + + + + session.gc_maxlifetime