phpMyAdmin appears cannot start session without errors problem solving method _php

Source: Internet
Author: User
phpMyAdmin problem, the total kept error.

The code is as follows:

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 configuration file was changed to a mess, and the restart of IIS to restart MySQL was not resolved.

But sometimes, but there is no problem, I can not think of the side of the problem ...

Later casually, finally a blind cat ran into a dead mouse.

This problem is due to the permissions of the session to store the directory.

The Internet Guest account must have control permissions to the Session directory.

The Internet Guest account is an account that starts with IUSR.

Due to XP, the folder properties option by default is not found in the "Security" tab (Win2003, as long as the right-click folder can be set), processing methods:

Folder Options-View-Remove the tick of "Simple File sharing"! Again right-click Folder properties, security options appear. Add IUSR, set its permissions (Full Control)

Open phpmyadmin,ok!

First: In the directory of PHP to create a folder TMP, this has permissions to the problem, if it is NTFS partition, it is necessary to add Evryone control permissions, otherwise it is useless.

Second: in php.ini find Session.save_path this line, set to Session.save_path = "c:/php/tmp" to remove the semicolon. Note here that there are three session.save_path in the php.ini, and if only one place is changed, it will not work.

Change the value of Session.auto_start in php.ini to 1 (start), default is 0 (disabled),
Finally, it is found in the phpMyAdmin, config.sample.inc.php, changed to config.inc.php, find $cfg [' Blowfish_secret '] will be the subsequent assignment, adding a combination of numbers and letters. After all the modifications, restart IIS or Apach, you can see the familiar phpMyAdmin landing interface.

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