• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

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

Polmonino

Basic 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