• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

Php sessions folder permissions issue after update - var/lib/php/sessions permissions

Xavier12

Regular Pleskian
Hey guys,

It seems that every time we update/upgrade the system, the permissions for var/lib/php/sessions folder needs to be set to 777 in order for php to operate properly. We use nginx 99% of the time. Enabling the folder to 777 does not sound secure, what is the best way to resolve this in order to not constantly have to manually update the permissions each time? We are using Cloudlinux on CentOS

Please advise, thank you.
 
Several Plesk microupdates bring up newer PHP version, that reset permissions on "/var/lib/php/session" and sometimes microupdate script doesn't set it back. As far as I know this behavior has been fixed in one of latest microupdate.
 
Back
Top