无法启动会话,而在phpMyAdmin中没有错误 [英] Cannot start session without errors in phpMyAdmin

查看:69
本文介绍了无法启动会话,而在phpMyAdmin中没有错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将浏览器指向phpMyAdmin时出现以下错误

I get the below error when pointing browser to phpMyAdmin

无法正确启动会话,请检查PHP和/或Web服务器日志文件中给出的错误,并正确配置PHP安装.

Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

我检查了所有内容,似乎无法弄清楚问题出在哪里.

I have checked everything and can't seem to figure out what the problem is.

在我的php.ini文件中,我有:

In my php.ini file I have:

session.save_path = "/var/lib/php/session"

权限:

drwxr-xr-x  2 root apache 4096 Feb 16 04:47 session

似乎没有任何作用.甚至将会话目录的权限更改为777.

Nothing seems to work. Even changing permission on session directory to 777.

推荐答案

问题通常出在浏览器端.

Problem usually lies on your browser end.

您需要刷新浏览器缓存,删除服务器/主机的cookie,然后重试加载phpMyAdmin.

You need to flush your browser cache, delete the cookies for the server/host and then retry loading phpMyAdmin.

如果要全力以赴,请同时清除服务器上的会话文件夹.

If you want to go all out, clear out the session folder on the server as well.

一个可能的原因是,导致其无法提取所需的会话信息并将此错误对话框转储到您的膝盖上.

One possible reason for this is a session data mismatch between the browser and the webserver causing it to not be able to pull out the required session info and dumping this error dialogue on your lap.

这篇关于无法启动会话,而在phpMyAdmin中没有错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆