Req #68127 [Opn]: Very short maxlifetime in default php.ini
| From: | tyrael@php.net | Date: | Fri, 03 Oct 2014 10:05:40 +0000 |
| Subject: | Req #68127 [Opn]: Very short maxlifetime in default php.ini | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-187817@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=68127&edit=1
ID: 68127
Updated by: tyrael@php.net
Reported by: atze_80 at web dot de
Summary: Very short maxlifetime in default php.ini
Status: Open
Type: Feature/Change Request
Package: *Configuration Issues
PHP Version: 5.6.0
Block user comment: N
Private report: N
New Comment:
hi, the default value for this setting is the same since session gc was introduced back in '99.
maybe it would be appropriate to change the defaults (which should also include changing the hard
coded default when no ini is present: http://lxr.php.net/xref/PHP_5_5/ext/session/session.c#790)
but I think this would be better discussed on the mailing list, and having an RFC for changing this
would be also reasonable.
Previous Comments:
------------------------------------------------------------------------
[2014-10-01 20:59:07] atze_80 at web dot de
Description:
------------
In the php.ini delivered with php source is the following setting
session.gc_maxlifetime = 1440
according to the documentation this value is in seconds, which means that the default session
lifetime is just 24 minutes.
I cannot help myself but assume that there is a missing zero. A value of 14400 seconds is 4 hours
which is more reasonable.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=68127&edit=1