MySQL/phpMyAdmin maxlifetime keeps getting reset
Posted by: Kirk (---.dhcp.roch.mn.charter.com)
Date: March 14, 2019 08:07PM

1 - Windows 10 Pro, Build 18855
2 - WampServer: 3.17
3 - Apache: 2.4.38a
4 - PHP Version: 7.1.22
5 - MySQL Version: 5.7.23
6 - What color is the WampServer icon: Green

For some reason the session.gc_maxlifetime value I set to 99999 changes itself back to 1440 on a daily basis. This happens every day at random times. It's not a biggie to reset it, but why does it keep changing back? I've checked and I don't have any gremlins running around on my machine. Am I missing a setting someplace?

Options: ReplyQuote
Re: MySQL/phpMyAdmin maxlifetime keeps getting reset
Posted by: Otomatic (Moderator)
Date: March 14, 2019 08:36PM

Hi,

Where did you change lifetime value ?
You need to change or to add this parameter in config.inc.php file of the PhpMyAdmin version you use.

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.7 32 bit - Apache 2.4.38 - PHP 7.3.2/7.2.15/7.1.26/7.0.33/5.6.40 - MySQL 5.7.25 - MariaDB 10.3.13
Wampserver 3.1.7 64 bit - Apache 2.4.38 - PHP 7.3.2/7.2.15/7.1.26/7.0.33/5.6.40 - MySQL 5.7.25/8.0.14 - MariaDB 10.3.13
PhPMyadmin 4.8.5 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: MySQL/phpMyAdmin maxlifetime keeps getting reset
Posted by: Kirk (---.dhcp.roch.mn.charter.com)
Date: March 14, 2019 11:02PM

I've set $cfg['LoginCookieValidity'] = 99999; in config.inc in the phpmyadmin4.8.5 directory in apps. I edit php.ini from the WampServer icon (which is the php.ini in C:\wamp64\bin\apache\apache2.4.38a\bin).

Options: ReplyQuote


Sorry, only registered users may post in this forum.