Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
weierophinney opened this issue Dec 31, 2019 · 0 comments
Open

Comments

@weierophinney
Copy link
Member

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


Originally posted by @maces at zendframework/zend-session#53

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

No branches or pull requests

1 participant