Home >php教程 >php手册 >'Unable to create session on error, please check PHP or web server logs and configure your PHP installation correctly' Fastest solution

'Unable to create session on error, please check PHP or web server logs and configure your PHP installation correctly' Fastest solution

WBOY
WBOYOriginal
2016-07-09 09:09:501013browse

Sometimes this error message suddenly appears when using phpMyAdmin

"Unable to create session on error, please check the PHP or web server logs and configure your PHP installation correctly"

I don’t know what caused this error message, but sometimes I just restart apache and log in again, and sometimes I just restart the machine

But I tried both methods today, but it still doesn’t work. My login URL is

http://computer-name:8080

Then I tried using

http://127.0.0.1:8080

Log in and the result is ready...

After successfully logging in using 127.0.0.1, log out and then use again

http://computer-name:8080

Log in, that’s it...

Although I don’t know the reason, at least it works normally on my computer

This is faster than restarting the web server or restarting the computer. If you also encounter this problem, try using another URL login method

In other words, if you originally logged in using 127.0.0.1, try logging in using computer-name

P.S. There is no guarantee of 100% success, but it only takes the time to type a few words. If this method cannot solve your problem, just think that you have been cheated by me...

Statement:
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