Article ID: 115704, created on Mar 13, 2013, last review on May 23, 2016

  • Applies to:
  • Plesk 12.5 for Linux
  • Plesk 11.0 for Linux
  • Plesk 11.5 for Linux
  • Plesk 10.4 for Linux/Unix


After the latest PHP update is installed by the weekly Plesk update task, PHP scripts cannot manage session objects on sites that are configured to run PHP as CGI or FastCGI.


An update for PHP on CentOS 6 was released by the OS vendor and the weekly Plesk update process installed it. The PHP upgrade reset ownership settings and permissions on the /var/lib/php/session directory to their default values, preventing FTP users of domains from creating files in the directory. Since CGI and FastCGI PHP scripts run based on the privileges of FTP users, this causes problems for scripts that try to create session objects.


The issue has been fixed in Plesk 11.0.9 Micro-Update #42.


Use these commands to set proper permissions and ownership settings on /var/lib/php/session:

# chmod 1733 /var/lib/php/session

# chown root:root /var/lib/php/session

Additional information

129051 Permissions on /var/lib/php/session/ are changed after PHP update in Plesk 12.5

Search Words

PHP garbage collector no longer works if session folder has 755 permissions.

php session inodes

PHP on domain running via CGI/FastCGI can't use session by default

0a53c5a9ca65a74d37ef5c5eaeb55d7f 56797cefb1efc9130f7c48a7d1db0f0c a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 e8756e9388aeca36710ac39e739b2b37 dd0611b6086474193d9bf78e2b293040 aea4cd7bfd353ad7a1341a257ad4724a 01bc4c8cf5b7f01f815a7ada004154a2 742559b1631652fadd74764ae8be475e e335d9adf7edffca6a8af8039031a4c7

Email subscription for changes to this article
Save as PDF