Home  >  Article  >  Backend Development  >  Unable to create session when error occurs, please check PHP or website server logs and configure PHP correctly Installation fastest solution_PHP tutorial

Unable to create session when error occurs, please check PHP or website server logs and configure PHP correctly Installation fastest solution_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 15:36:231067browse

Sometimes this error message suddenly appears when using phpMyAdmin

"Unable to create a session when an error occurs, please check the PHP or website server logs and configure the PHP installation correctly"

I don’t know either What exactly caused this error message? Sometimes I just restart apache and log in again. Sometimes I can just restart the machine

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

http://computer-name:8080

Then I tried using

http://127.0.0.1:8080

Log in, and the result will be fine...

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

http://computer-name:8080

You can log in...

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 to use another URL login method

In other words, if you originally used 127.0.0.1 to log in, try to use computer-name to log in.


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 I have deceived you...

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/322167.htmlTechArticleSometimes when using phpMyAdmin, this error message will suddenly appear "Unable to create session when an error occurs, please check PHP or website server logs and properly configured PHP installation" nor...
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