Home > Backend Development > PHP Tutorial > How to solve the problem of Cannot start session without errors in phpmyadmin, phpmyadminerrors_PHP tutorial

How to solve the problem of Cannot start session without errors in phpmyadmin, phpmyadminerrors_PHP tutorial

WBOY
Release: 2016-07-13 10:21:00
Original
829 people have browsed it

Solution to the problem of Cannot start session without errors in phpmyadmin, phpmyadminerrors

There is something wrong with PHPMYADMIN and it keeps reporting errors.

Copy code 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 PHP installation properly.

The configuration file has been changed into a mess, and I have repeatedly restarted IIS and MYSQL, but nothing has been resolved.

But sometimes, there is no problem and I can’t figure out where the problem is...

Afterwards, I messed around randomly, and finally the blind cat met a dead mouse.

This problem is due to the permission issue of the session storage directory.

The Internet guest account must have control permissions on the session directory.

Internet guest accounts are accounts starting with IUSR.

Because under XP, the "Security" tab cannot be found in the folder property options by default (you can set it by right-clicking on the folder under win2003), the solution is:

Folder Options-View-uncheck "Simple File Sharing"! Then right-click the folder properties and the security option appears. Add IUSR, set its permissions (Full Control)

Open phpmyadmin, ok!

First of all: Create a folder tmp in the php directory. This is a permission issue. If it is an ntfs partition, you must add evryone control permissions, otherwise it will be useless.

Secondly: Find the session.save_path line in php.ini, set it to session.save_path = "C:/php/tmp" and remove the semicolon. It should be noted here that there are three session.save_paths in php.ini. If you only modify one place, it still won't work.

Change the value of session.auto_start in php.ini to 1 (start), the default is 0 (disable),
Finally, find config.sample.inc.php in phpmyadmin, change it to config.inc.php, find $cfg['blowfish_secret'] and add a combination of numbers and letters to the subsequent assignment. After all modifications are completed, restart iis or apach, and you will see the familiar phpmyadmin login interface.

phpMyAdmin has the following problem, Cannot start session without errors

phpMyAdmin - Error Cannot start session without errors

First of all: Create a folder tmp in the php directory. This has permission issues. If it is an ntfs partition, you must add evryone control permissions, otherwise it will be useless.
Secondly: Find the session.save_path line in php.ini, set it to session.save_path = "C:/php/tmp" and remove the semicolon. It should be noted here that there are three session.save_paths in php.ini. If you only modify one place, it still won't work.

Change the value of session.auto_start in php.ini to 1 (start), the default is 0 (disable),

Finally, find it in phpmyadmin, config.sample.inc .php, change it to config.inc.php, find $cfg['blowfish_secret'] and add a combination of numbers and letters to the subsequent assignment. After all modifications are completed, restart iis or apach, and you will see the familiar phpmyadmin login interface.

For your reference

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/863851.htmlTechArticleHow to solve the problem of Cannot start session without errors in phpmyadmin, phpmyadminerrors There is a problem with PHPMYADMIN, and it keeps reporting errors. Copy the code The code is as follows: Cannot start sess...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template