Session Permission Problems On Cleanup

Hi All

I am tearing my hair out at the moment. I am getting this error :

ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13) in /your/file/here on line 30

It’s seems documented and I’ve tried the things I’ve found to no avail. It seems to happen on ALL sessions across my code, but 1 in every 100 times.

If anyone has any thoughts. I would really appreciate them.



I may have solved it.

I was setting session.gc.probability = 0 instead of session.gc_probability = 0

We’ll see if this helps at all…