Session.save_path default value?

What is default and recommended “session.save_path” in php.ini? Is it

session.save_path = "/var/lib/php/sessions" or session.save_path = "/home/user/tmp"?

And who is owner of that file?

Here’s why. In Wordpress site, if I use “/var/lib/php/sessions” (owner root), plugin “Edwiser Bridge” works fine and can connect to Moodle site. But “Breakdance builder” doesn’t work. It throws error:

**session_start(): Session data file is not created by your uid** in */home/user/web/example.com/public_html/wp-content/plugins/edwiser-bridge-pro/includes/sso/class-eb-pro-sso.php* on **229**

→ But if I use reverse, so “/home/user/tmp” (owner root), “Breakdance builder” works fine, but than “Edwiser Bridge” doesn’t work.

I’m not here looking for a help with plugins, I just want to know why I can’t make it so that both plugins work at the same time :thinking:

I’ve read this forum but I didn’t find solution. Desperately need help with this. Thanks everyone!

PS. Here are owners of those 2 dirs on my machine, however, I modified owners few times and I don’t remember “original” one:

#ls -ld /home/dbbuda/tmp
drwxrwxrwx 9 root root 1277952 Nov 14 21:02 /home/dbbuda/tmp

#ls -ld /var/lib/php/sessions
drwx-wx-wt 2 root root 4096 Jun 19 22:39 /var/lib/php/sessions

/home/user/tmp

is the default save location and user is the default own…

Thank you very much. I’ve set up like that. Breakdance builder is working fine, Moodle is storing sessions perfectly fine, however “Edwiser Bridge” is still not working correctly, but I’ll leave that to their support. Once again, as always, thank you very much :slight_smile:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.