• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Failed to write session data

sharulhafiz

Basic Pleskian
I just discovered there is seperate error log for php-fpm and since only 1 site is running fully nginx, the log is full with this error:

"NOTICE: PHP message: 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've checked and the path is correct, so please help me.
 
This issue has been completely fixed since Plesk 10.4. In case if you upgrade to 11.x or 12 versions, please ignore this warning. It occurs in case if permissions on the '/var/lib/php/session/' directory are set incorrectly Upgrade in fact fixes the permissions

So, I can safely ignore this warning? To avoid this error, I could just set custom path for session?
 
Back
Top