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
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