Phpmyadmin error: “Cannot start session without errors”

I have been trying to get phpmyadmin working on my Fedora 8 server i’ve been setting up, and struggled for the past day or so on this error:

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

Turns out it’s very easy to fix. First thing you’ll want to do is have a look at your error logs. For me this was in /var/log/lighttpd/error.log (i’m using lighttpd instead of Apache). Have a look at your error log and you will probably see errors referencing permission errors writing to your session directory.

Simply chmod 777 that directory and you should be good to go.

Related Posts:

  1. Sendmail says: stat=Deferred: Connection reset
  2. How to install Google Affiliate pixel tracking code in Magento
  3. How to setup a static route in OSX Leopard

3 comments

  1. chmod 777 WHAT DIRECTORY? The /etc/phpmyadmin directory?

  2. The error I am getting is Cannot start session without errors, please check errors given in your PHP and/or webserver log file and configure your PHP installation properly. I can’t find the logfile that tells me what is going on here. I am running Debian Lenny.

  3. I had the same issue stated above. make sure you have write permissions to /var/lib/php5 in debian lenny.

Leave a comment