Solution in windows:
Find the path of session. save_path = "" in php. ini and check whether this directory exists or whether the directory has write permissions for everyone or Authenticated Users. Generally
Solution in linux:
After updating PHP today, the phpmyadmin configured in the result is logged in, "You cannot create a session when an error occurs. Check the PHP or website server logs and correctly configure PHP installation ." .
Error cause:
After php is updated, the original/var/lib/php/session permissions are overwritten. This error occurs because apache users cannot write data to the session.
Solution:
Run: # chown-R root: username/var/lib/php/session
Here, username is the bearer user of apache, and my is apache, so the command to be executed is:
# Chown-R root: apache/var/lib/php/session
If the error message appears at this time, we recommend that you:
# Chmod-R 777/var/lib/php/session
For fear that 777 of permissions are too large, the above problems cannot be solved by testing 770, 766, and 776, so we have to grant 777 permissions first.
I don't know if there will be any security risks during the trial. Please write down this location first.