Take the 2-minute tour ×
Server Fault is a question and answer site for professional 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

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

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.