PhpMyAdmin : Cannot start session without errors

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

If you’re getting this error when starting phpMyAdmin, there are a few possibilities of what the problem may be.

For starters, be sure that it is a server side problem. If this only happens to one computer, just clear the browser cache and you’re good to go.

If that doesn’t solve the problem, it’s on the server.

PhpMyAdmin uses session intensely, check that the sessions folder of php is properly set.

Go to php.ini and look for the value session.save_path

If there is a value for it, look for the path, it should be in mode 777 and owner root:user (change user with your own of course)

Sometimes this alone won’t solve the problem, check for you /tmp folder, if it is not 777, do it.

If this still does not solve the problem, clear the contents of the /tmp folder, some old session files stored in the /tmp folder do cause phpmyadmin to crash.

Since probably your /tmp folder is crowded, a simple rm -f /tmp/* might say “argument list too long”, in such case try this.

find /tmp -name '*' -print0 | xargs -0 -n 10 rm
  • 7 Users Found This Useful
Was this answer helpful?

Related Articles

Setting time with NTP in LINUX

NTP (Network Time Protocol) could be used to set time synced with ntp clocks, to do this use the...

Linux version & Operating System info

LINUX Version Info To learn the architecture and kernel version info use the shell command...

Build PHP5.5 on CentOS 6.4 with MSSQL Support [cite]

Most of the yum repos doesn’t include PHP5.5.X on current releases for the time being. So...

Change Outgoing IP of Postfix Mail Server

This can get quite important when your mail server is blacklisted, or if you somehow want to...

Add New Hosting to a System Installed With Plugged.sh

If you use our LAMP installer script and want to add a new domain afterwards, we’ve created...