zendframework / zend-session

Manage and preserve session data, a logical complement of cookie data, across multiple page requests by the same client.
BSD 3-Clause "New" or "Revised" License
42 stars 64 forks source link

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

Open maces opened 8 years ago

maces commented 8 years ago

Continuing the bug report from https://github.com/zendframework/zendframework/issues/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():

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 commented 4 years ago

This repository has been closed and moved to laminas/laminas-session; a new issue has been opened at https://github.com/laminas/laminas-session/issues/16.