i have a problem with my session files...
if i go to my site directly (www.example.com) then php session files owner is www-data:www-data but if i go do the site via www.example.com/index.php then the owner of the session files is ftp:www-data and the resulting problem is when i want to start the session but the session file allready exists but having a different owner php can not open the session file for writing.
i'm running apache + php5
So the problem was with who the owner of index.php was and all php files. All php files should have had the owner www-data:www-data... but a small fraction of files was uploaded via ftp and so the owner was ftp:www-data.
And the session file had the same owner as the php file where the session was started... don't know if this is spessific only to my server.