• 欢迎访问搞代码网站,推荐使用最新版火狐浏览器和Chrome浏览器访问本网站!
  • 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏搞代码吧

phpMyAdmin Cannot start session with_php

php 搞代码 7年前 (2018-06-21) 133次浏览 已收录 0个评论

环境:linux ,apache2 ,php5

问题:打开phpmyadmin出现如下错误:

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

解决办法如下:

vim /etc/php5/apache2/php.ini

查找session.save_path ,将session.save_path=/var/lib/php5这一句的注释符号去掉。

如还不能正常工作,将session.auto_start的值改为1(启动),默认是0(禁用)

这个错误一般是由于session文件的存储路径不可写造成的,在linux下一般是路径的权限问题。在windows下面session.save_path一定要设置到一个可以读写的路径,如 D:/tmp 等。

您可能感兴趣的文章

  • php提示PHP Warning: date(): It is not safe to rely on the……错误的解决办法
  • php提示Maximum execution time of 30 seconds exceeded…错误的解决办法
  • php提示Call to undefined function curl_init() 错误的解决办法
  • 该如何解决php运行出现Call to undefined function curl_init错误
  • XDebug的进度条停在57%,提示waiting for XDebug session错误的解决办法
  • PHP报Fatal error Allowed memory size of…内存不足的错误应该如何解决
  • PHP 字符串转义函数(addslashes,stripslashes)详解
  • window.navigate 与 window.location.href 的使用区别详解

欢迎大家阅读《phpMyAdmin Cannot start session with_php》,跪求各位点评,若觉得好的话请收藏本文,by 搞代码


搞代码网(gaodaima.com)提供的所有资源部分来自互联网,如果有侵犯您的版权或其他权益,请说明详细缘由并提供版权或权益证明然后发送到邮箱[email protected],我们会在看到邮件的第一时间内为您处理,或直接联系QQ:872152909。本网站采用BY-NC-SA协议进行授权
转载请注明原文链接:phpMyAdmin Cannot start session with_php

喜欢 (0)
[搞代码]
分享 (0)
发表我的评论
取消评论

表情 贴图 加粗 删除线 居中 斜体 签到

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址