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

2009-05-31 Thread Joey Schulze
Paul Slootman wrote:
 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).

Fully agreed.  I have always admired conf.d directories which reduce the
pain of merging configuration files after dist-upgrades and checking each
and every setting.  I thought and would have hoped this was true for PHP
as well.

 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 :-( )

With regards to this, and since I run into similar problems with
different applications every once in a while, 24 minutes seem to
be rather low.  60 minutes are better, sometimes a couple of hours
are required, but that's a different story.

 Please reconsider this.

+1

Regards,

Joey

-- 
Ten years and still binary compatible.  -- XFree86

Please always Cc to me when replying to me on the lists.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2008-01-18 Thread Paul Slootman
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.


Thanks,
Paul Slootman



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]