[php-maint] Bug#613345: Bug#613345: libapache2-mod-php5: gc_probability set to 0

Pierre Habouzit madcoder at debian.org
Mon Feb 14 13:57:41 UTC 2011

reopen 613345
retitle 613345 please document session.gc_maxlifetime being set to 0 in NEWS.Debian
severity 613345 normal

On Mon, Feb 14, 2011 at 01:03:44PM +0100, Ondřej Surý wrote:
> close 613345
> thank you
> From php5-common.README.Debian:
> Session storage
> ---------------
>     Session files are stored in /var/lib/php5.  For security purposes, this
>     directory is unreadable by non-root users.  This means that php5 running
>     from apache2, for example, will not be able to clean up stale session
>     files.  Instead, we have a cron job run every 30 mins that cleans up
>     stale session files; /etc/cron.d/php5.  You may need to modify how
>     often this runs, if you've modified session.gc_maxlifetime in your
>     php.ini; otherwise, it may be too lax or overly aggressive in cleaning
>     out stale session files.
> Andres Salomon <dilinger at debian.org>  Fri, 03 Sep 2004 03:12:54 -0400

Why wasn't it put in NEWS.Debian ?  I watch this file and wouldn't have
raised the bug if I had seen that.

This is a disruptive change that should go there.
·O·  Pierre Habouzit
··O                                                madcoder at debian.org
OOO                                                http://www.madism.org

More information about the pkg-php-maint mailing list