Posts tagged Error :: Cannot start session without errors please check errors given in your PHP and/or webserver log file and configure your PHP installation properly

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 :

[email protected][#]  vi /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini

and search  for parameters :



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 :

[email protected][#]  /etc/init.d/httpd restart

[email protected][#] /etc/init.d/cpanel  restart

That’s all you are done.