Author Topic: Change session save place  (Read 3376 times)

0 Members and 2 Guests are viewing this topic.

Offline
*
Change session save place
« on: February 24, 2020, 07:58:35 PM »
Right now every session saves in /tmp

But what if i want it to automatic save for every website in their own map
like when you create a new domain, theres a tmp folder in the public_html
I want it to save their for every single domain i got, not in the same /tmp folder

And is there a session limiter or something, because one of my websites has stopped creating new session files, only the one which already is saved can log in on my page

Offline
****
Re: Change session save place
« Reply #1 on: February 25, 2020, 12:22:01 PM »
If your using php-fpm

In each users pool file.
php_value[session.save_path]    = path/to/savepath. Ex: /home/user/tmp
 
In PHP.ini session.save_path a default location can be set server wide.

Google Hangouts:  rcschaff82@gmail.com