phpStudey2010 Enter phpMyAdmin "Cannot create session on exception, check php" Workaround

Source: Internet
Author: User
phpStudey2010 Enter phpMyAdmin "Unable to create session on error, check PHP" Workaround

reprint please indicate is quoted in http://blog.csdn.net/chenyujing5678

Welcome to shoot Bricks!

The pen is always no help in the crash, resulting in a lot of problems with dedecms, this does not phpmyadmin appear " unable to create session in case of error, check PHP "

First, the reason analysis

The Windows version of PHP should use the temporary file directory by default, but for what reason, the previous permissions to the temporary file directory were lost, so error.

Second, the solution:

Open the php.ini file and search for the Session.save_path field. We have found three in our system:

; Session.save_path = "N;/path"

; Session.save_path = "/tmp"

; session.save_path = "N; Node;/path "

It seems that these fields are closed, and our solution is to create a new; Session.save_path field, take a value to take a path . (The path has to be real )

eg

Session.save_path = "D:\phpsession "



  • 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.