php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #73096 session.gc_lifetime should be session.gc_maxlifetime
Submitted: 2016-09-15 22:02 UTC Modified: 2016-09-16 10:11 UTC
From: wiselyfoolish at gmail dot com Assigned: cmb (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: wiselyfoolish at gmail dot com
New email:
PHP Version: OS:

 

 [2016-09-15 22:02 UTC] wiselyfoolish at gmail dot com
Description:
------------
---
From manual page: http://www.php.net/sessionhandlerinterface.gc
---
The link on this page says the $maxlifetime variable is populated via session.gc_lifetime.  The proper configuration variable is session.gc_maxlifetime.  The link does go to the proper page, but I was initially searching in php.ini for gc_lifetime which doesn't exist.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-09-16 09:56 UTC] cmb@php.net
-Status: Open +Status: Verified -Assigned To: +Assigned To: cmb
 [2016-09-16 10:11 UTC] cmb@php.net
Automatic comment from SVN on behalf of cmb
Revision: http://svn.php.net/viewvc/?view=revision&revision=340043
Log: Fix #73096: session.gc_lifetime should be session.gc_maxlifetime
 [2016-09-16 10:11 UTC] cmb@php.net
-Status: Verified +Status: Closed
 [2016-09-16 10:11 UTC] cmb@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.
 [2020-02-07 06:06 UTC] phpdocbot@php.net
Automatic comment on behalf of cmb
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=639f79e2f56cb3302a0009408b0bd589be479560
Log: Fix #73096: session.gc_lifetime should be session.gc_maxlifetime
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 13:00:01 2026 UTC