This article mainly introduces how to solve the problem of Cannotstartsessionwithouterrors in phpmyadmin. the environment in this article is Windows + IIS server. if you need it, refer to PHPMYADMIN and report an 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 PHP installation properly.
The configuration file has been changed to a mess, and it has not been solved by constantly restarting IIS to restart MYSQL.
But sometimes, there is no problem. I can't figure out which side is wrong...
After that, a blind cat finally ran into a dead mouse.
This problem is caused by the permission to store the session directory.
The Internet guest account must have the permission to control the session directory.
The Internet guest account starts with IUSR.
In XP, the "security" tab cannot be found in the folder attribute options by default (right-click the folder under win2003 to set it). solution:
Folder option-View-remove the "simple file sharing" check box! Right-click the folder property, and the security option appears. Add IUSR and set its permissions (full control)
Open phpmyadmin, OK!
First, create a folder tmp in the php Directory. if you have permissions, you must add the evryone control permission if it is an ntfs partition. Otherwise, it is useless.
Second, find the session. save_path line in php. ini and set it to session. save_path = "C:/php/tmp" to remove the semicolon. Note that there are three session. save_path entries in php. ini. if you only modify one path, it still does not work.
Change the value of session. auto_start in php. ini to 1 (start). The default value is 0 (disabled ),
Finally, find in phpmyadmin, config. sample. inc. change php to config. inc. in php, find $ cfg ['blowfish _ secret'] and add the value to the next value to a combination of numbers and letters. After all the modifications, restart iis or apach to view the familiar phpmyadmin logon interface.