Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
    
Already answered in this thread: stackoverflow.com/questions/2930870/… –  Farhan Nov 13 '11 at 8:43

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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