Am 29.03.2012 19:00, schrieb Daniel Llewellyn:
On 29 Mar 2012, at 17:45, [email protected] wrote:
My problem: All php-Apps that create sessions get in conflict because all the 
php-instances (runing as different users) seem to generate the SAME session-ids 
which leads into identical session-file-names in /var/lib/php/sessions/. The 
first php-app (or php-instance) successfully creates its session-file, but all 
following apps (instances) end up with errors like ...
are you sure?

Warning: session_start(): open(/var/lib/php/session/sess_XXXXXX, O_RDWR) 
failed: Permission denied (13) in /home/xxx/home/public_html/index.php on line X
Warning: Unknown: open(/var/lib/php/session/sess_XXXXXX, O_RDWR) failed: 
Permission denied (13) in Unknown on line 0
Warning: Unknown: Failed to write session data (files). Please verify that the 
current setting of session.save_path is correct (/var/lib/php/session) in 
Unknown on line 0
that looks suspiciously like a permissions error on the directory 
/var/lib/php/session, NOT an ownership error on 
/var/lib/php/session/sess_12345. Are you sure your users are able to create 
files in this directory?
I too would rather expect to have the sessions also in separate directories...

Like

/var/lib/site1/php/sessions
and
/var/lib/site2/php/sessions

Look for session.save_path <http://www.php.net/manual/en/session.configuration.php#ini.session.save-path> in your php.ini


André
_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp

Reply via email to