phpmyadmin error “Cannot start session without errors”

“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.

Also check permissions of /tmp. It should be 755. Change it to 1777.

 


Both comments and pings are currently closed.

Comments are closed.