updated description

** Description changed:

  session files saved outside /var/lib/php5, in /tmp for example, are not
  deleted by the cron job /etc/cron.d/php5
  
- FYI, apache is running suphp module.
+ apache is running suphp module.
+ 
+ OsCommerce for example, set  the php configuration variable
+ session.save_path dynamically to /tmp. When running the web site, php
+ stores a file like sess_ffeabd74d5899fcb83d3d098ab6c8343 in /tmp
+ 
+ normally, it's the job of the garbage collector to purge these files,
+ but it is deactivated for some security reasons i don't know why, the
+ cron job replaces the gc work and looks for files only in /var/lib/php5
+ to purge session files older than maxlifetime value
+ 
+ when using the garbage collector, there's no problem to purge session
+ files, wherever they are.

-- 
php5 session files purge cron job not working outside /var/lib/php5
https://bugs.launchpad.net/bugs/267701
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to