This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Suhosin and sessions base dir
#1
Suhosin and sessions base dir
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.configu....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
Reply
Thanks given by:
#2
RE: Suhosin and sessions base dir
You can try manual cleanup

http://www.laurencegellert.com/2012/08/p...tu-server/

But notice if the directory is not writable so how we create sessions ?
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#3
RE: Suhosin and sessions base dir
(07-27-2017, 07:41 PM)Me.B Wrote: You can try manual cleanup

http://www.laurencegellert.com/2012/08/p...tu-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.
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Suhosin is a dead project. How will Sentora move on to PHP 7.x? worksmarter 16 43 ,804 07-28-2019, 03:37 PM
Last Post: Ron-e
Time to give up on Suhosin? aaronlroberts 2 6 ,912 05-11-2019, 08:31 AM
Last Post: aaronlroberts
Can I remove suhosin on non sharing sentora vps? maximus___ 1 4 ,429 04-17-2019, 12:48 AM
Last Post: Me.B

Forum Jump:


Users browsing this thread: 1 Guest(s)