Home  >  Article  >  Backend Development  >  phpMyAdmin Cannot start session without errors error solution_PHP tutorial

phpMyAdmin Cannot start session without errors error solution_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:31:26918browse

Environment: linux, apache2, php5

Problem: The following error occurred when opening phpmyadmin:

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

The solution is as follows:

vim /etc/php5/apache2/php.ini

Look for session.save_path and remove the comment symbol in the sentence session.save_path=/var/lib/php5.

If it still doesn’t work properly, change the value of session.auto_start to 1 (start), the default is 0 (disable)

This error is usually caused by the storage path of the session file being unwritable. Under Linux, it is usually a permission issue with the path. Under Windows, session.save_path must be set to a path that can be read and written, such as D:/tmp, etc.

Articles you may be interested in

  • php prompt PHP Warning: date(): It is not safe to rely on the... Error solution
  • php prompts Call to undefined function curl_init() Error Solution
  • php prompts Maximum execution time of 30 seconds exceeded... Error Solution
  • How to solve php running Call to undefined function curl_init error occurs
  • The progress bar of XDebug stops at 57%, prompting the solution to the waiting for XDebug session error
  • PHP reports Fatal error Allowed memory size of... Insufficient memory How to solve the error
  • Firefox prompts event is not defined error solution
  • Fatal error Class 'SoapClient' not found in... Error handling method

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/764085.htmlTechArticleEnvironment: linux, apache2, php5 Problem: The following error appears when opening phpmyadmin: Cannot start session without errors, please check errors given in your PHP and/or webserver log file an...
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