diff options
Diffstat (limited to 'php.ini-dist')
-rw-r--r-- | php.ini-dist | 7 |
1 files changed, 4 insertions, 3 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. |