[php-maint] Bug#648823: php5-common: default session.gc_maxlifetime of 1440 is not practical for mediawiki

Paul Waring paul at xk7.net
Wed Dec 21 09:31:13 UTC 2011

On 21/12/11 09:26, Paul Waring wrote:
> It's true that the default setting can be a bit low for some
> applications, but you can always override it so I'm not sure this is a
> bug as such.
> Just create a file called: /etc/php5/conf.d/local.ini and add:
> session.gc_maxlifetime = 3600 ; one hour
> Then run the maxlifetime command again to check that it has picked up
> the change.

My mistake, maxlifetime won't search conf.d/*, at least not according to 
bug 452347. :(

You can still fix this by editing php.ini manually, although that does 
mean changing a Debian-supplied configuration file.

Paul Waring

More information about the pkg-php-maint mailing list