Increase the phpMyAdmin session timeout

Edit your config.inc.php file (in my Ubuntu 12.04 it was located at /etc/phpmyadmin/config.inc.php) and add the following line (where X is the amount of seconds the session will last):

$cfg['LoginCookieValidity'] = X;

phpmyadmin-login

In my development machine I have 36000 that is 10 hours (all work day) but you should never do this in a production environment.

You may also have to set the same value on session.gc_maxlifetime in your php.ini file because it will probably be smaller than LoginCookieValidity value you set before (it’s default value is 1440).

session.gc_maxlifetime = 36000

Ref: http://venutip.com/content/increase-phpmyadmin-session-timeout

You might also like

Apache 2 + MySQL 5 + PHP 5.3 + phpMyAdmin 3.5.4 installation script for Mac OS X using MacPorts
Based on the instructions provided by Gilles Fabio I've created a complete installation script to install...
Solve “The Alias directive in … will probably never match because ir overlaps an earlier Alias”
This is a warning that happens when starting Apache2. $ sudo service apache2 restart * Restarting...
Install and activate xdebug in MacPorts
First install php5-xdebug: sudo port install php5-xdebug Then just add these in your php.ini (probably...
Useful Apache 2 and MySQL 5 service aliases for MacPorts
Those are some aliases I use to start, stop and restart Apache 2 and MySQL on my MacPorts installation...
Leave a comment ?

0 Comments.

Leave a Comment