Home > php教程 > php手册 > phpmyadmin登录 时间的方法

phpmyadmin登录 时间的方法

WBOY
Release: 2016-06-13 09:55:06
Original
1737 people have browsed it

这里我们可以修改它的登录模式为http。这样,只要浏览器不关闭就可以继续使用。
以ubuntu环境,通过apt-get方式安装的php教程myadmin为例。
文档位置在 /etc/phpmyadmin/config.inc.php
如下修改文档:
代码如下:

if (!empty($dbname)) {
/* authentication type */
// $cfg['servers'][$i]['auth_type'] = 'cookie';
//重新设定登录模式
$cfg['servers'][$i]['auth_type'] = 'http';

ps教程:其实网上很多地方都有提到,改为http模式就可以了,但为什么我一直没成功呢?因为 phpmyadmin 有3个config.inc.php文档,而我一直以来都只是修改了phpmyadmin文件夹下的文档。正确的文档在/etc/phpmyadmin/config.inc.php

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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template