• The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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