Mastering Development

Phpmyadmin: Error when visiting localhost/phpmyadmin session start

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

when I try running

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


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?

Leave a Reply

Your email address will not be published. Required fields are marked *