diff options
author | George Peter Banyard <girgias@php.net> | 2020-01-25 13:23:51 +0100 |
---|---|---|
committer | George Peter Banyard <girgias@php.net> | 2020-01-25 13:29:36 +0100 |
commit | a1f2f8f06e1a40a77c22861c266377c790c3f26b (patch) | |
tree | 6688ed1bbd33c34fd30468c721653ab3b337d34e /php.ini-development | |
parent | 49cbd23155d5c2ab72cc371b6fefa39bc8105b1a (diff) | |
download | php-git-a1f2f8f06e1a40a77c22861c266377c790c3f26b.tar.gz |
Fixed bug #79080 [ci skip]
Rewrote session.gc_probability and session.gc_divisor INI setting
description to be more succint.
Diffstat (limited to 'php.ini-development')
-rw-r--r-- | php.ini-development | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/php.ini-development b/php.ini-development index 97e1657a7c..a2167e8395 100644 --- a/php.ini-development +++ b/php.ini-development @@ -1421,12 +1421,9 @@ session.cookie_samesite = ; http://php.net/session.serialize-handler session.serialize_handler = php -; Defines the probability that the 'garbage collection' process is started -; on every session initialization. The probability is calculated by using -; gc_probability/gc_divisor. Where session.gc_probability is the numerator -; and gc_divisor is the denominator in the equation. Setting this value to 1 -; when the session.gc_divisor value is 100 will give you approximately a 1% chance -; the gc will run on any given request. +; Defines the probability that the '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. ; Default Value: 1 ; Development Value: 1 ; Production Value: 1 @@ -1434,13 +1431,9 @@ session.serialize_handler = php session.gc_probability = 1 ; Defines the probability that the 'garbage collection' process is started on every -; session initialization. The probability is calculated by using the following equation: -; gc_probability/gc_divisor. Where session.gc_probability is the numerator and -; session.gc_divisor is the denominator in the equation. Setting this value to 100 -; when the session.gc_probability value is 1 will give you approximately a 1% chance -; the gc will run on any given request. Increasing this value to 1000 will give you -; a 0.1% chance the gc will run on any given request. For high volume production servers, -; this is a more efficient approach. +; 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. +; For high volume production servers, using a value of 1000 is a more efficient approach. ; Default Value: 100 ; Development Value: 1000 ; Production Value: 1000 |