Help with Warning: Unknown: open(/var/lib/php/fpm/session/sess_

Started by cybergod, April 27, 2017, 10:29:42 AM

Previous topic - Next topic

cybergod

I have been working on this for last 4 hours,

I did the initial start for webinterface and then I relog and it says update build 3030, it keps showing it over and over. I manual try to import and gives me duplicate error. I enable error logs on website via index.php, it throws out this error.

Warning: Unknown: open(/var/lib/php/fpm/session/sess_ckrtj3p2a2j11297t5umq5nph3, O_RDWR) failed: Permission denied (13) in Unknown on line 0

Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/fpm/session) in Unknown on line 0

I have chmod -R 777 /var/lib/php/fpm/session
I have chown apache:apache /var/lib/php/fpm/session

I have restarted httpd/php-fpm and still same error.


cybergod

close, this wasn't exaclty what was the problem but was helpfully to get me corrected, chmod 1777, not 0777 FYI to other ppl