From: Sascha Schumann Date: Sat, 5 Apr 2003 11:40:40 +0000 (+0000) Subject: MFH X-Git-Tag: php-4.3.2RC2~152 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=55c86cbdb947cf91b4ec2c9057acfd18787edfc2;p=php MFH --- diff --git a/php.ini-dist b/php.ini-dist index b064fd6077..4864b1f760 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -831,11 +831,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 820097e530..b413871a79 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -837,11 +837,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.