Sentora Support Forums
Suhosin and sessions base dir - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36)
+---- Thread: Suhosin and sessions base dir (/showthread.php?tid=3953)



Suhosin and sessions base dir - Dumass - 07-27-2017

The value for session.save_path (/var/sentora/sessions) is not writable for the web server. Make sure that PHP can actually save session variables. (Refer to the PHP documentation: http://php.net/manual/en/session.configuration.php#ini.session.save-path)

Hi. I get the above from a package I'm trying to install:
The session path is owned by www-data:www-data but firstly ran my server out of inodes because they weren't deleting and still aren't.

Now I have the above issue preventing me from completing the installation and I have no idea what I'm doing. I never changed or added this only set the securities and ownership which has had no impact. The other sites being hosted are all still fine as long as I frequently delete the sessions and don't run out of inodes.

Sentora latest on Ubuntu 14


RE: Suhosin and sessions base dir - Me.B - 07-27-2017

You can try manual cleanup

http://www.laurencegellert.com/2012/08/php-sessions-not-being-deleted-on-ubuntu-server/

But notice if the directory is not writable so how we create sessions ?


RE: Suhosin and sessions base dir - Dumass - 07-27-2017

(07-27-2017, 07:41 PM)Me.B Wrote: You can try manual cleanup

http://www.laurencegellert.com/2012/08/php-sessions-not-being-deleted-on-ubuntu-server/

But notice if the directory is not writable so how we create sessions ?

Thats what I'm trying to figure out. Also its creating but not deleting them so I manually have to remove or run out of inodes however that I can manage and I'm sure will come right its just itop thats highlighting the issue which I think is the same thing regarding the sessions not being deleted as well as not being able to install due to the base dir path.