phpMyadmin : session_start(): open(SESSION_FILE, O_RDWR) failed: No such file or directory (2)

While accessing phpMyAdmin the following error was popping up

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: No such file or directory (2)

session_start(): Failed to read session data: files (path: )

Fix:

Make sure that tmp folder under the user home directory contains necessary files.

If it is corrupted, copy from available backups and try loading phpMyAdmin.

Leave a comment