Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Session gc_maxlifetime and cookie_lifetime with php-fpm pool config #53

Open
maces opened this issue Aug 26, 2016 · 1 comment
Open

Comments

@maces
Copy link

maces commented Aug 26, 2016

Continuing the bug report from zendframework/zendframework#4733

TL:DR;

When the following settings are set via the pool config from php-fpm and not in php.ini, they cannot be overwritten via php's ini_set():

  • session.gc_maxlifetime
  • session.cookie_lifetime

ZF2 tries to reset them anyway and fails (see old bug report for details).
ZF2 Versions tested: 2.2.1, 2.4.1, 2.5.3
On PHP 5.6

example php-fpm pool conf line:
php_admin_value[session.gc_maxlifetime] = 1880

@weierophinney
Copy link
Member

This repository has been closed and moved to laminas/laminas-session; a new issue has been opened at laminas/laminas-session#16.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants