Rif Raf SRL
New Pleskian
Hello,
suddenly the php session stopped working after plesk updated itself and I started getting the following error:
I fixed the issue with the following commands that I've found googleing around:
The server is running CentOS 6.3.
Is this something that will happen after each update? Because if it's so, it will be an issue to fix multiple servers everytime.
suddenly the php session stopped working after plesk updated itself and I started getting the following error:
mod_fcgid: stderr: PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0
I fixed the issue with the following commands that I've found googleing around:
chown apachesacln /var/lib/php/session
chmod -R 770 /var/lib/php/session
chcon -R system_ubject_r:httpd_sys_content_t:s0 /var/lib/php/session
The server is running CentOS 6.3.
Is this something that will happen after each update? Because if it's so, it will be an issue to fix multiple servers everytime.