phpMyAdmin – Error: Cannot start session without errors

I get this error regularly setting up new nginx+php-fpm servers and I keep forgetting the fix.
So here’s another note-to-self..

  1. Check session save path
  2. Check permissions of the directory

    This should tell you which user owns the session dir, most likely this is NOT the same as your php-fpm user.
  3. Check user of php-fpm

    I have set php-fpm set as nginx user, so I gotta fix the owner of the session dir.
  4. Fix owner and/or permissions
  5. Restart php-fpm
  6. Test phpmyadmin again, it should work now

2 comments

  1. Thanks. Thanks. Thanks. 🙂 I have not been able to solve this problem in the last 3 hours. And Worked. I’ve added a tracking list to your site.

Leave a Reply