Environment: Linux, Apache2, PHP5
Problem: The following error occurred while opening phpmyadmin:
Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PH P installation properly.
The solution is as follows:
Vim/etc/php5/apache2/php.ini
Find Session.save_path and remove the annotation symbol for the session.save_path=/var/lib/php5 sentence.
If it is not working correctly, change the value of Session.auto_start to 1 (boot) and the default is 0 (disabled)
This error is generally due to the memory path of the session file is not writable, in Linux is generally the path of the permissions problem. Under Windows Session.save_path must be set to a read-write path, such as D:/tmp.
Articles that you may be interested in
- PHP prompts PHP warning:date (): It is not safe to rely on the ... The wrong way out
- PHP prompts maximum execution time of seconds exceeded ... The wrong way out
- PHP prompts call to undefined function curl_init () Error resolution
- How to troubleshoot PHP run appears call to undefined function Curl_init error
- XDebug's progress bar stops at 57%, prompting waiting for XDebug session error resolution
- PHP newspaper fatal error allowed memory size of ... How the out-of-memory error should be resolved
- PHP string Escape function (Addslashes,stripslashes) detailed
- A detailed explanation of the use of window.navigate and window.location.href