I use phpmyadmin to create mysql database. And I have set the auth type to cookie in the config.inc.php. How do I change the time limit so that even if I logged in I stayed
Fast solution for Ubuntu:
// edit php.ini
and look for session.gc_maxlifetime
sudo vi /etc/php5/apache2/php.ini
// set to 24 hours
session.gc_maxlifetime = 86400
// edit config.inc.php
and look for $cfg['LoginCookieValidity']
sudo vi /etc/phpmyadmin/config.inc.php
// set to 24 hours
$cfg['LoginCookieValidity'] = 86400;
// restart web server
sudo service apache2 restart