PHP头条
热点:

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


环境: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.phpzy.comtrue/php/213.htmlTechArticlephpMyAdmin Cannot start session without errors错误解决办法 环境:linux ,apache2 ,php5 问题:打开phpmyadmin出现如下错误: Cannot start session without errors, please check errors given in your PHP and/or webserver log fi...

相关文章

相关频道:

PHP之友评论

今天推荐