Unable to create a session when an error occurs check the PHP or web server logs and correctly configure the fastest solution for PHP installation

  • 2020-03-31 21:01:17
  • OfStack

Sometimes this error message pops up when using phpMyAdmin

"Unable to create session in case of error, please check PHP or web server logs and configure PHP installation correctly."

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

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

http://computer-name:8080

And then I tried to use it

http://127.0.0.1:8080

Log in and the result is...

After successful login with 127.0.0.1, log out and use again later

http://computer-name:8080

Log in, it's ok...

I don't know why, but at least it's working on my computer

This is faster than restarting a web server or a computer, and if you have this problem, try logging in with a different URL

That is, if you are already logged in with 127.0.0.1, try computer-name


P.S. doesn't guarantee 100% success, but it's just a matter of typing a few words.

Related articles: