Home  >  Article  >  Backend Development  >  phpmyadmin download method to extend phpmyadmin login time

phpmyadmin download method to extend phpmyadmin login time

WBOY
WBOYOriginal
2016-07-29 08:44:241026browse

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 mentioned that changing to http mode is enough, 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)

The above introduces how to download phpmyadmin and extend the login time of phpmyadmin, including the content of phpmyadmin download. I hope it will be helpful to friends who are interested in PHP tutorials.

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