PhpMyadmin Cannot start session without errors

If you are getting above error while opening  phpmyadmin  through  CPanel/WHM this means that the parameters  :

session.save_handler and session.save_path are not correctly defined in php.ini file for phpmyadmin .

You can easily fix this by following the below steps :

Login in to the  Shell/SSH  with the root user :

root@server[#]  vi /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini

and search  for parameters :

session.save_handler

session.save_path

You will  find the entries as :

session.save_handler = sqlite
session.save_path =/var/cpanel/userhomes/cpanelphpmyadmin/sessions/phpsess.sdb

Just replace  those  entries to  :

session.save_handler = files
session.save_path = /tmp

Save and quit.

finally restart the Apache and CPanel service :

root@server[#]  /etc/init.d/httpd restart

root@server[#] /etc/init.d/cpanel  restart

That’s all you are done.