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

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

问题描述

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

I get the below error when pointing browser to phpMyAdmin

没有错误就无法启动会话,请检查您的 PHP 和/或网络服务器日志文件中给出的错误并正确配置您的 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天全站免登陆