Home > Backend Development > PHP Tutorial > Methods to extend phpmyadmin login time_PHP tutorial

Methods to extend phpmyadmin login time_PHP tutorial

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-07-21 15:31:46
Original
944 people have browsed it

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...
source:php.cn
Statement of this Website
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
Latest Issues
自增长有长度限制么
From 1970-01-01 08:00:00
0
0
0
java 随机延迟执行
From 1970-01-01 08:00:00
0
0
0
java 隨機延遲執行
From 1970-01-01 08:00:00
0
0
0
page-header怎么控制长度?
From 1970-01-01 08:00:00
0
0
0
php操作kafka怎么实现延时队列
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template