PHPMyAdmin :: Cannot start session without errors

If you are getting the following error in the phpMyAdmin on cpanel server


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



Solution:: Then follow these steps.

1) Login in to the Shell with the root user and then open the file using your favorite editor .


vi /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini

2) Search for [Session] and change the following

FROM:
-----
session.save_handler = sqlite
session.save_path =/var/cpanel/userhomes/cpanelphpmyadmin/sessions/phpsess.sdb
-----
TO
-----
session.save_handler = files
session.save_path = /tmp
-----

and then save and Exit .

3) Restart Apache server using command

/etc/init.d/httpd restart



1 comments:

  • Anchal

    Have saved my job.. thanks

  • Post a Comment