Home  >  Article  >  php教程  >  phpMyAdmin Cannot start session without errors错误解决办法

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

WBOY
WBOYOriginal
2016-06-21 08:47:501279browse

环境: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 的使用区别详解



Statement:
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