Home php教程 php手册 phpmyadmin不能登录,无任何提示的问题解决

phpmyadmin不能登录,无任何提示的问题解决

May 25, 2016 pm 04:55 PM

昨天有一朋友说自己的phpmyadmin不能登录并且无任何提示了,问我怎么解决,下面我来分享一下关于phpmyadmin不能登录问题总结.

phpmyadmin不能登录没有提示

解决方法:


1.在php的目录建立个文件夹tmp(如C:/php/tmp),设置tmp属性为ervery one完全控制
2.在php.ini找到session.save_path 这一行,设成session.save_path = “C:/php/tmp”,并把前面的分号去掉


以上的C:/php/tmp根据你实际情况设定


3.重启IIS服务。

终极解决方法

导致上述问题和一些与php程序相关的错误(如:xcache缓存功能不生效;php不保存session),根源在于,没有给php设

置temp目录!


1.在 c:windows下建立 temp 文件夹(用户存放php的文件),并设置相应的读写NTFS权限,确保php能正常访问此

目录


2.重启IIS.

 

简单带上phpMyAdmin登陆超时(1440秒未活动)解决办法


在phpMyAdmin所在目录找到 / libraries / config.default.php 文件,打开,修改

$cfg['LoginCookieValidity'] = 1440;    将1440修改成更大的值即可解决“现象一”

如果修改:$cfg['LoginCookieValidity']的值小于或等于php.ini里的session.gc_maxlifetime的值,即可解决”现

象二“

总结:最前讲述的是iis+php下重启iis,如果是apache我们重启apache即可了。



教程地址:

欢迎转载!但请带上文章地址^^

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)