• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Resolved PHP session.save_path issue after dist-upgrade

Did you experienced this issue?


  • Total voters
    2
  • Poll closed .

Izaim

Basic Pleskian
Hello,
Recently I've been seeing issues with the php session path after upgrading from Ubuntu 14 to 16. Could not login on different scripts like WHMCS, Blesta etc.

The issue was with the session.save_path, in Xenial the PHP5 is replaced with PHP7 and the directory "php5" does not exist in "/var/lib/php5" anymore where Plesk keeps PHP sessions temporary by default, but "/var/lib/php" does exist instead. (check below)

esLlFSe.jpg


xu0vp0w.jpg
 
Bumping this old thread as I have noticed a very similar problem with Plesk Obsidian 18.0.30.1 after a recent upgrade from Debian Jessie to Stretch.

On a website running a PHP version installed by Plesk, users couldn't login anymore. Turned out the "session.save_path" was still set to "/var/lib/php5/sessions" although PHP 5 had been removed with the upgrade to Stretch.

Solution was to fix this in "/opt/plesk/php/*/etc/php.ini" by setting
Code:
session.save_path = "/var/lib/php/sessions"
and then running
Code:
plesk repair web -v -php-fpm-configuration
 
Back
Top