Home > php教程 > php手册 > 解决phpMyAdmin Cannot start session without errors错误

解决phpMyAdmin Cannot start session without errors错误

WBOY
Release: 2016-05-27 08:47:49
Original
1665 people have browsed it

本文章重点给各位介绍关于在使用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.phprm.com

解决办法如下: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 等.

文章地址:

转载随意^^请带上本文地址!

Related labels:
source:php.cn
Statement of this Website
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
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template