PHP Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied

I am getting it in my apache error log

/var/lib/php5 owner and group is root, so is it fine to change the group to www-data, since its on a production server please help me out

link|improve this question

60% accept rate
Already answered in this thread: stackoverflow.com/questions/2930870/… – Frank Nov 13 '11 at 8:43
feedback

1 Answer

up vote 1 down vote accepted

Yes. It's fine. Webserver have to write somewhere sessions files. You can change this path in the php.ini file.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.