How to fix: “Error during session start; please check your PHP and/or webserver log file…

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)

php – How to fix: “phpMyAdmin – 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)

(1) First ensure your session.save_path in your php.ini is set correctly
(2) then check the session directory permission
CODE: SELECT ALL

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

(3) Finally, clear everything (cache, cookies…) at browser.
And refresh and check.

 

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.