[php-maint] Bug#452347: Bug#452347: php5-common: /usr/lib/php5/maxlifetime should search /etc/php5/conf.d/*.ini too

Paul Slootman paul at debian.org
Fri Jan 18 15:36:32 UTC 2008

On Wed 21 Nov 2007, Raphael wrote:
> >
> > It was a surprise when sessions were lost after 1440s contrary to the
> > session.gc_maxlifetime setting in some /etc/php5/conf.d/foobar.ini.
> >
> > Please add /etc/php5/conf.d/*.ini search to the /usr/lib/php5/maxlifetime
> > script.
> conf.d/ won't be read for different values.
> Please read this recent thread[1] to know why.

I find this a bit unfortunate, the whole conf.d/ thing is very useful to
override the default settings without having to alter the distributed
php.ini (with the pain of merging in local changes whenever it gets
updated in the package). (24 minutes is quite low for e.g. being logged
into twiki, if you take a lot of time writing the page, by the time you
commit the change your session has expired and you've lost the text :-( )

The fix is trivial and it's hard to see what would break by this;
I had actually just finished patching /usr/lib/php5/maxlifetime myself
before checking the bug list.

Please reconsider this.

Paul Slootman

More information about the pkg-php-maint mailing list