MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: phpMyadmin Error  (Read 4309 times)

0 Members and 1 Guest are viewing this topic.

Offline Administrator

  • Chinmay Dingore
  • Administrator
  • Full Member
  • *****
  • Posts: 135
  • Karma: +1/-0
    • View Profile
    • MilesWeb Internet Services Pvt Ltd
phpMyadmin Error
« 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.

Quote
Cannot 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.

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

Search for session.save_handler & session.save_path

Change it FROM

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

TO

Quote
session.save_handler = files
session.save_path = /tmp

Restart cPanel, Apache and MySQL service. Now, try accessing phpMyadmin & it should work.
MilesWeb.com - Your Hosting, Our Responsibility!
Unlimited Hosting Plans | Managed VPS with 20% Discount

MilesWeb Hosting Forum

phpMyadmin Error
« on: April 21, 2014, 04:55:26 PM »