• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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