Home  >  Article  >  Backend Development  >  Methods to extend phpmyadmin login time_PHP tutorial

Methods to extend phpmyadmin login time_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:31:46863browse

Here we can modify its login mode to http. In this way, you can continue to use it as long as the browser is not closed.
Take phpmyadmin installed through apt-get in Ubuntu environment as an example.
The document location is /etc/phpmyadmin/config.inc.php
Modify the document as follows:

Copy the code The code is as follows:

if (!empty($dbname)) {
/* Authentication type */
// $cfg['Servers'][$i]['auth_type'] = 'cookie';
//Reset login mode
$cfg['Servers'][$i]['auth_type'] = 'http';

ps: In fact, many places on the Internet have It was mentioned that it can be changed to http mode, but why have I never succeeded? Because phpmyadmin has 3 config.inc.php documents, and I have only modified the documents in the phpmyadmin folder. The correct document is in /etc/phpmyadmin/config.inc.php (taking phpmyadmin installed through apt-get in Ubuntu environment as an example)

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/322962.htmlTechArticleHere we can modify its login mode to http. In this way, you can continue to use it as long as the browser is not closed. Take phpmyadmin installed through apt-get in the Ubuntu environment as an example. Document bit...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn