I have created a droptlet with Plesk and Centos 7 installation on vps and tried to open phpMyAdmin that came with Plesk but I get the issue.

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: @@PMA_TEMP_DIR@@/session)

I have tried changing the session directory to writable directory /tmp as I have searched for the solution but its not working as well.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Hi @fnaseer4,

Check your php.ini file and where exactly are the sessiones being stored. The exact line in your php.ini file would be

session.save_path = "/path/to/session"

Check the permissions on the mentioned folder and if needed change them so that it’s able to write files in it.

If you are not sure where the php.ini file is, you can create an info.php file and add the following in it

<?php phpinfo(); ?>

and open it in your browser. It will display all your php settings right away.

Kind regards,
Kalin

Submit an Answer