• 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

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