[php-maint] Bug#501313: Bug#501313: Bug#501313: Fixed in lenny?
atomo64 at gmail.com
Thu Oct 16 20:38:03 UTC 2008
[Please do not send me a copy of the message, IOW: no To nor B/CC]
2008/10/16 Gokdeniz Karadag <gokdenizk at gmail.com>:
> There is a problem in etch.
> In etch, I have changed the gc_probability in php.ini,
> I gave a high probability/divisor ratio (about 1/10, also tried 1/1)
> and restarted apache. Garbage collection never happened.
And what sessions path are you using? are you sure the process does
actually have enough rights to delete the files? are you sure the max
life time was reached?
> As soon as I copied those settings into the webapp's code with iniset,
> garbage collection worked.
> This states that gc_probability was compiled in as 0,
> * Comment out session.gc_probability in the default php.ini, as we've
> now compiled in a default of 0, allowing the cronjob to do the
> garbage collection for us instead. (closes: #267720)
> Changing it back may allow the setting in php.ini work.
The only change that was done here was to default to 0 in php itself
(i.e. if gc_probability is not defined in php.ini it will default to
Raphael Geissert - Debian Maintainer
www.debian.org - get.debian.net
Satchel Paige - "Don't look back. Something might be gaining on you."
More information about the pkg-php-maint