upload_
For the first question, you need to change the $cfg[‘LoginCookieValidity’]
config in the config.inc.php.
Open config.inc.php in the phpMyAdmin “root” directory. Look for a line that contains this: $cfg[‘LoginCookieValidity’]. Set the value to the desired amount of seconds. If the line doesn't exist, just add it like this:
$cfg[‘LoginCookieValidity’] = 3600; //(3600 = one hour)
You will need to login again to phpmyadmin.
This also assumes that the PHP session garbage collection is set-up accordingly. This can be done in a number of ways:
session.gc_maxlifetime =
php_admin_value session.gc_maxlifetime
ini_set(‘session.gc_maxlifetime’, );
About the second question:
You need to change both, upload_max_filesize
and post_max_size
in your php.ini.
The post_max_size
value needs to be at least the upload_max_filesize
value.
Don't forget to restart your server
Reference