Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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 '15 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 '15 at 4:58

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/ 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