[Bug 316441] Re: PHP session garbage collection
scot at wilcoxon.org
Thu Oct 29 19:13:57 GMT 2009
I'm adding to this report that the Ubuntu php.ini file has instructions
which are impossible to follow. The php.ini section on Debian session
handling refers to ext/session/mod_files.sh (a different program is for
Windows) which is not included in the Ubuntu PHP5 package. So Ubuntu
does not provide PHP session cleaning.
; NOTE 1: PHP will not create this directory structure automatically.
; You can use the script in the ext/session dir for that purpose.
If we're going to use Debian PHP, we need to include the session
directory creation tool. And the session directories need to be
created, so the cron job will work.
Whether you interpret this as Ubuntu PHP not being functional due to
uninitialized session directories, or as containing a bug which fills
the disk with session files, or as having a cron job which cleans the
wrong directory, there is something wrong with PHP sessions.
PHP session garbage collection
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in ubuntu.
More information about the Ubuntu-server-bugs