Phpmyadmin: Error when visiting localhost/phpmyadmin session start

Amir :

I am using Ubuntu and I can't open phpmyadmin, when I visit it on localhost, it displays an error

[1] when I try running

sudo chmod 777 to /var/lib/php/session

OR

chown -R root:root /var/lib/php/session

it outputs

chmod: cannot access '/var/lib/php/session': No such file or directory

How to solve this issue?

Karl :
  1. Check your php.ini file and look for session.save_path = "/var/lib/php/session" it has to be there.

  2. make sure the path exists.

  3. Try clearing your browser's cache and cookies

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=371992&siteId=1