[php-src] Issue #22758: phpsessionclean not using settings in {conf_dir}/conf.d/ directory

From: Date: Thu, 16 Jul 2026 10:39:04 +0000
Subject: [php-src] Issue #22758: phpsessionclean not using settings in {conf_dir}/conf.d/ directory
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-252436@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/22758 Author: wsywr ### Description Hi (debian) When doing php.ini overrides on my server (this is usally done by putting a 99-settings.ini file inside each /conf.d/ ) the phpsessionclean will not respect those values. phpsessionclean will keep running on files older than 1440 (which is set in the php.ini file) gemini says this line should have a ":" after the conf.d/ but i dont have enough expertise to say whether that is right or wrong. session_config=$(PHP_INI_SCAN_DIR=/etc/php/${version}/${conf_dir}/conf.d/ "/usr/bin/php${version}" -c "/etc/php/${version}/${conf_dir}/php.ini" -d "error_reporting='~E_ALL'" -r 'foreach(ini_get_all("session") as $k => $v) echo "$k=".$v["local_value"]."\n";') Anyway. this forces me to do my own script override until its fixed. im not even sure this is a php issue or it is a php-debian package hook issue? thanks! ### PHP Version ```plain tested with PHP8.5, PHP8.4, PHP8.3, PHP8.2, PHP8.1, PHP8.0 ``` ### Operating System _No response_

« previous php.bugs (#252436) next »