MilesWeb Hosting Forum

Web Hosting Technical Support => Errors and Solutions => Topic started by: Administrator on April 21, 2014, 04:55:26 PM

Title: phpMyadmin Error
Post by: Administrator on April 21, 2014, 04:55:26 PM
Hi Team,

I recently migrated data from one server to other. On the new server when trying to access phpMyadmin, it was showing an error.

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

Access your server via SSH as root & open file using your favorite editor.

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

Search for session.save_handler & session.save_path

Change it FROM

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

TO

Quotesession.save_handler = files
session.save_path = /tmp

Restart cPanel, Apache and MySQL service. Now, try accessing phpMyadmin & it should work.