Package: php5 Version: 5.4.4-14 Severity: important Dear Maintainer,
/usr/lib/php5/maxlifetime returns no output if some of the php.ini files contain an error/warning. error in php.ini are quite easy to get: some depreciated php option in interfaces user does not use (cli, fpm, ...) in the code there is line "error_reporting='~E_ALL'" which causes the the maxlifetime script to return nothing, which is then interpreted by /etc/cron.d/php5 as 0 which as a result does not clear session files. my outcome was /var running out of inodes and server crashing. running the files does not report any error. solution: change /usr/lib/php5/maxlifetime from "error_reporting='~E_ALL'" to "error_reporting='~E_NONE'" (or alternatively do not override default setting set in */php.ini) michal -- System Information: Debian Release: 7.0 APT prefers testing APT policy: (500, 'testing') Architecture: amd64 (x86_64) Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=sk_SK.utf8, LC_CTYPE=sk_SK.utf8 (charmap=UTF-8) (ignored: LC_ALL set to sk_SK.utf8) Shell: /bin/sh linked to /bin/dash Versions of packages php5 depends on: ii libapache2-mod-php5 5.4.4-14 ii php5-common 5.4.4-14 php5 recommends no packages. php5 suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org