Solution to the problem of phpmyadmin Cannot start session without errors

  • 2021-07-10 19:05:33
  • OfStack

There is something wrong with PHPMYADMIN, and there is always one strength to report the error.

Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.

The configuration file has been changed to a mess 78, and it has not been solved to restart IIS and restart MYSQL continuously.

But sometimes, it's no problem. I can't think of which side has a problem …

Later, I fooled around casually, and finally once a blind cat met a dead mouse.

This problem is due to the permissions of session storing directories.

The Internet guest account must have control over the session directory.

The Internet guest account is the account beginning with IUSR.

Because under XP, the folder attribute option cannot find the "Security" tab by default (under win2003, you can set it by right-clicking the folder), how to deal with it:

Folder Options-View-Remove the "Simple File Sharing" tick! Right-click the folder properties again, and the security option appears. Add IUSR and set its permissions (full control)

Open phpmyadmin, ok!

First of all: php directory to establish a folder tmp, this problem of authority, if it is ntfs partition, 1 must add evryone control authority, otherwise it is useless.

Next: Find the line session.save_path at php.ini and set it to session.save_path = "C:/php/tmp" to remove the semicolon. It should be noted here that there are three places in session.save_path in php.ini. If only one place is modified, it will not work.

Change the value of session.auto_start in php. ini to 1 (enabled), the default is 0 (disabled),
Finally, it is found in phpmyadmin, config. sample. inc. php, changed to config. inc. php, found $cfg ['blowfish_secret'], and added numbers and letters to the following assignment. After all modifications, restart iis or apach, and you can see the familiar login interface of phpmyadmin.


Related articles: