Method to extend the login time of phpmyadmin

  • 2020-03-31 21:31:17
  • OfStack

Here we can change its login mode to HTTP. This way, as long as the browser is not closed can continue to use.
Take the ubuntu environment, phpmyadmin installed by apt-get as an example.
Document location in the/etc/phpmyadmin/config. Inc., PHP
Modify the document as follows:
if (!empty($dbname)) { 
// $cfg['Servers'][$i]['auth_type'] = 'cookie'; 
//Reset the login mode
$cfg['Servers'][$i]['auth_type'] = 'http'; 

Ps: in fact, many places on the Internet have mentioned, change to HTTP mode is ok, but why I have not been successful? Because phpmyadmin has three PHP documents, and I've only been modifying the documents in the phpmyadmin folder. The correct documentation in the/etc/phpmyadmin/config. Inc., PHP (with ubuntu environment, through the apt - get way to install phpmyadmin, for example)

Related articles: