ABCD in Linux : problem with immediately expiring session

From ABCD Wiki
Jump to: navigation, search

For those interested in this specific issue : I found the problem and solution. The wonership of the directory, set as 'session.save_path' in PHP (php.ini defaults to that if not filled in) was set as root and I had to change it to www-data (the user under which Apache and ABCD run). Another option of course is to put /var/lib/php5 at rights '777' which also allows www-data to write in it, but this is less secure. I have no idea how it got changed before but maybe some system update has introduced this change and caused the problem.

Egbert de Smet Universiteit Antwerpen