phpMyAdmin appears cannot start session without errors problem solving method _php technique

Source: Internet
Author: User
Tags php and phpmyadmin

phpMyAdmin problem, always keep the error.

Copy Code code 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 shambles and the IIS restart MySQL was restarted.

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

Then casually fooling around, finally a blind cat ran into a dead mouse.

This problem is due to the session hosting directory permissions issue.

The Internet Guest account must have control of the session directory.

The Internet Guest account is the account at the beginning of IUSR.

Because of XP, the default in Folder property options is that the Security tab is not found (Win2003 can be set as soon as the right key folder is available), handling:

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

Open phpmyadmin,ok!

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

Second: in php.ini find Session.save_path this line, set into Session.save_path = "c:/php/tmp" to get the semicolon off. Here to note that there are three php.ini inside the Session.save_path, if only modify a place, or not.

Change the value of Session.auto_start in php.ini to 1 (boot), by default 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 following assignment, add the number and letter combination. 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.