• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • 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.

Issue plesk-php-cleanuper does ignore session.gc_maxlifetime settings from Plesk own versions

RobHost

Basic Pleskian
---------------------------------------------------------------
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
- Plesk Onyx, CentOS 7, 64 Bit

PROBLEM DESCRIPTION
- The cron /etc/cron.hourly/plesk-php-cleanuper script does not respect session.gc_maxlifetime settings from Plesk PHP versions in /opt/plesk/php/

STEPS TO REPRODUCE
- Just run the script.

ACTUAL RESULT
- Every session older than 24 minutes in /var/lib/php/session/ will be deleted, if not set in systems php.ini located im /etc (session.gc_maxlifetime)

EXPECTED RESULT
- Respect session.gc_maxlifetime also from Plesks own PHP versions located in /opt/plesk/php/<VERSION>/etc/php.ini
--------------------------------------------------------------
 
IMHO this is definitly not a feauture, but a serious bug in one of your scripts.
Please consider to open a bug report for this.
 
We are 4 years later and still have this issue, even when I have deleted all the « plesk-php-cleaneuper » scripts. How can I resolve these shorts session in order to make them longer ? (Php.ini session.gc_maxlifetime is not considered)
 
We are 4 years later and still have this issue, even when I have deleted all the « plesk-php-cleaneuper » scripts. How can I resolve these shorts session in order to make them longer ? (Php.ini session.gc_maxlifetime is not considered)
Still no solution to session.gc_maxlifetime not working at domain level?
 
Back
Top