phpMyAdmin – session_start(): open(SESSION_FILE, O_RDWR) failed: Permission denied (13)

phpMyAdmin – Error

Error during session start; please check your PHP and/or webserver log file and configure your PHP installation properly. Also ensure that cookies are enabled in your browser.

session_start(): open(SESSION_FILE, O_RDWR) failed: Permission denied (13)

Try to chown /var/lib/php/session/ with the user who is running httpd.
In my case it was nginx.

chown nginx: /var/lib/php/session/

3 thoughts on “phpMyAdmin – session_start(): open(SESSION_FILE, O_RDWR) failed: Permission denied (13)

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.