phpMyAdmin cannot start session without errors error resolution

Source: Internet
Author: User
Tags php and window phpmyadmin linux

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


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.