How to store multiple sessions for each site? Double demon?

in php.d got these settings
session.save_path = "/tmp/php_sessions/www"
upload_tmp_dir = "/tmp/php_upload/www"

Now there (the paths) lie I've found the site, wanted to raise a new website on CMS Bitrix, and she complained that the record of the session can not (with the rights everything is OK), apparently the same name wants to record may itself checks..
I can't just copy the configuration, you need to specify a particular site where to store the session, for example. How to do it?

P. S. Linux is not whisking)
April 3rd 20 at 17:19
2 answers
April 3rd 20 at 17:21
Solution
interrupt setup apache php settings for different proxies you can specify a different directory sessions.
#server1.conf
Listen 127.0.0.1:8888
<VirtualHost 127.0.0.1:8888>
 # ...

 <Directory /home/user/server1/>
 # ...
 php_admin_value session.save_path /tmp/php_sessions/server1
 php_admin_value upload_tmp_dir /tmp/php_upload/server1
</Directory>

 # ...
</VirtualHost>

#server2.conf
Listen 127.0.0.1:8889
<VirtualHost 127.0.0.1:8889>
 # ...

 <Directory /home/user/server2/>
 # ...
 php_admin_value session.save_path /tmp/php_sessions/server2
 php_admin_value upload_tmp_dir /tmp/php_upload/server2
</Directory>

 # ...
</VirtualHost>
April 3rd 20 at 17:23
and she complained that the record of the session can not (with the rights everything is OK), apparently the same name wants to take

Here we see a very common cognitive disorder, "accept fantasy over reality."
It really is common for more than 50% of the "problems" faced by novice programmers caused by they.

What we see here?
Does the allegation "with the rights everything is OK" is accepted on faith, and then begins a flight of fancy - "apparently the same name". Blyus, as usual - instead of a meaningful error message - "she complained." As if a programmer reports a problem, and fifth-grader, sniffing, tells her about the evil lady.

It is urgent that string to pull back.

Instead "she told" get a specific system error message. After that fix it. If you cannot do it yourself - write it on a toaster.
typical vyser, not the answer.
if you need screenshots right - comments to the question just created for clarification.
CMS writes, "Maybe the problem is...", the error message is very specific.
Of. the forum is viewed on the basis of it and reached the stage of the problem, about which it is written. - Amie commented on April 3rd 20 at 17:26

Find more questions by tags PHPNginxApache