summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--php.ini-dist7
-rw-r--r--php.ini-recommended7
2 files changed, 8 insertions, 6 deletions
diff --git a/php.ini-dist b/php.ini-dist
index 779c9e64a9..c7e586970c 100644
--- a/php.ini-dist
+++ b/php.ini-dist
@@ -850,11 +850,12 @@ session.serialize_handler = php
; Define the probability that the 'garbage collection' process is started
; on every session initialization.
-; The probability is calculated by using gc_probability/gc_dividend,
-; e.g. 1/100 means 1%.
+; 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_probability = 1
-session.gc_dividend = 100
+session.gc_divisor = 100
; After this number of seconds, stored data will be seen as 'garbage' and
; cleaned up by the garbage collection process.
diff --git a/php.ini-recommended b/php.ini-recommended
index d38dde0edf..9e5650fcc4 100644
--- a/php.ini-recommended
+++ b/php.ini-recommended
@@ -867,11 +867,12 @@ session.serialize_handler = php
; Define the probability that the 'garbage collection' process is started
; on every session initialization.
-; The probability is calculated by using gc_probability/gc_dividend,
-; e.g. 1/100 means 1%.
+; 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_probability = 1
-session.gc_dividend = 1000
+session.gc_divisor = 1000
; After this number of seconds, stored data will be seen as 'garbage' and
; cleaned up by the garbage collection process.