Ondřej Žára wrote:
Are you using Debian? Debian doesn't use the session GC in PHP - instead, it cleans sessions in a cronjob. To enable PHP GC in Roundcube, one
must
add (to main.inc.php) these lines:
Wonder why the maintainer did that. Sounds pretty weird.
Quoting from the Debian php.ini file:
; This is disabled in the Debian packages, due to the strict permissions ; on /var/lib/php5. Instead of setting this here, see the cronjob at ; /etc/cron.d/php5, which uses the session.gc_maxlifetime setting below ;session.gc_probability = 0
I looked into the cron job in Debian. It cleans only file based sessions. RC uses database to store its sessions, so RC has to do its own cleanup and apparently it does it in rcube_sess_gc().