• We value your experience with Plesk during 2024
    Plesk strives to perform even better in 2025. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2024.
    Please take this short survey:

    https://pt-research.typeform.com/to/AmZvSXkx
  • 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.

Plesk 12.5 /var/lib/php/session permissions issue with session.save_path

Polmonino

New Pleskian
In Plesk 12.5 on CentOS 7 x64 there is an issue when running PHP 5.* with FastCGI/FPM. The /var/lib/php/session directory is 770, which is wrong since scripts run under:

Code:
<ftpuser>:psacln

Code:
[root@localhost ~]# ls -l /var/lib/php
total 0
drwxrwx--- 2 root apache 44 Sep 25 10:51 session

Which is the best way to deal with this problem? Moving the session.save_path in the domain root for every new subscription is not an option, at least for me. It is safe to chmod 777 /var/lib/php/session?
 
Don't ask me, I just had a look to what my system (CentOS7 / Plesk 12.5) looks like and my session directory has permissions as shown above.

So I thought you might just give it a try then.
 
Don't ask me, I just had a look to what my system (CentOS7 / Plesk 12.5) looks like and my session directory has permissions as shown above.

So I thought you might just give it a try then.

Ok fine, thanks! Btw it's really strange your system have different permissions on that folder... any Plesk developer here?
 
I had the same issue "permission denied" errors. It was already set to root:root, but it didn't have the 1733 permissions. After changing that it works again.
 
Back
Top