Incorrect session.save_path for PHP 7 on Debian 8

Created:

2016-11-16 13:17:59 UTC

Modified:

2017-01-19 03:00:48 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Incorrect session.save_path for PHP 7 on Debian 8

Symptoms

For PHP 7.0 in Plesk 12.5 on Debian 8 in /opt/plesk/php/7.0/etc/php.ini session path directive is set to /var/lib/php5 :

; http://php.net/session.save-path
session.save_path = "/var/lib/php5"

Under Plesk > Subscription > domain.tld > PHP Settings session.save_path is the same:

session.save_path = "/var/lib/php5"

As the result PHP sessions can not be created.

Cause

This is is a software issue with internal id #PPPM-3880 .

Resolution

The issue was fixed in Plesk 12.5 MU #19.

Install the latest microupdates using the following command:

/usr/local/psa/admin/bin/autoinstaller --select-product-id plesk --select-release-current --reinstall-patch --install-component base

Please note that the fix will be applied for unchanged php.ini on upgrade from 7.0.1 (7.0.0) and not applied for the changed file. All new domains will be created with correct session.save_path .

Also the fix will not be applied for existing domains on PHP 7 until subscription's PHP settings are not updated.

Have more questions? Submit a request
Please sign in to leave a comment.