欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

phpMyAdmin Cannot start session without errors错误解决办法_PHP教程

程序员文章站 2022-05-06 19:26:01
...
环境: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提示Call to undefined function curl_init() 错误的解决办法
  • php提示Maximum execution time of 30 seconds exceeded...错误的解决办法
  • 该如何解决php运行出现Call to undefined function curl_init错误
  • XDebug的进度条停在57%,提示waiting for XDebug session错误的解决办法
  • PHP报Fatal error Allowed memory size of...内存不足的错误应该如何解决
  • Firefox 提示event is not defined错误的解决办法
  • Fatal error Class 'SoapClient' not found in ...错误处理办法

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/764085.htmlTechArticle环境:linux ,apache2 ,php5 问题:打开phpmyadmin出现如下错误: Cannot start session without errors, please check errors given in your PHP and/or webserver log file an...