Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

How can I increase the amount of time a phpmyadmin session is valid when running through Plesk?

share|improve this question

closed as off-topic by HopelessN00b Jan 14 at 4:58

  • This question does not appear to be about server, networking, or related infrastructure administration within the scope defined in the help center.
If this question can be reworded to fit the rules in the help center, please edit the question.

    
This question appears to be off-topic because it is about working with a service provider's management interface, such as cPanel. –  HopelessN00b Jan 14 at 4:58

1 Answer 1

There is a value you can set in the phpmyadmin config, but I've been told in some cases, a php.ini config overrides it. So, one configuration you can try is opening up /etc/phpmyadmin/config.inc.php. At the end of the file, put:

$cfg['LoginCookieValidity'] = xx;
ini_set('session.gc_maxlifetime', $cfg['LoginCookieValidity']);

Replace xx with the amount of seconds you want the session to be valid for. Also, that is the correct phpmyadmin config file to modify when using Plesk (9.2.3).

share|improve this answer