• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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