Ways to extend phpMyAdmin login time _php Tips

Source: Internet
Author: User
Here we can modify its login mode to HTTP. This allows you to continue using the browser as long as it is not closed.
Take the Ubuntu environment, the Apt-get installation of the phpMyAdmin as an example.
Document location in/etc/phpmyadmin/config.inc.php
Modify the document as follows:
Copy Code code 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 are mentioned, change to HTTP mode can be, but why I have not succeeded? Because phpMyAdmin has 3 config.inc.php documents, I have always changed the documents under the phpMyAdmin folder only. The correct documentation is in/etc/phpmyadmin/config.inc.php (for example, phpMyAdmin installed in Ubuntu environment, by Apt-get Way)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.