phpmyadmin error “Cannot start session without errors”?

The most common problem in newly installed cPanel server is as follows after browsing the phpmyadmin problem.

phpmyadmin“cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly.”

To resolve above error you need to change the values in /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini file.

root@admin[~]#pico /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini
And than change the following values in php.ini file

FROM:
—–
session.save_handler = sqlite
session.save_path =/var/cpanel/userhomes/cpanelphpmyadmin/sessions/phpsess.sdb

—–

TO
—–
session.save_handler = files
session.save_path = /tmp

Note : To make change the values in php.ini you need to login into as root user.

About Anant 384 Articles
Senior technical writer