Fixing your /etc/php5/*/php.ini to *not include* deprecated directives (preferred).
Or applying this patch: diff --git a/debian/maxlifetime b/debian/maxlifetime index d5a536b..df79d76 100644 --- a/debian/maxlifetime +++ b/debian/maxlifetime @@ -5,7 +5,7 @@ max=1440 if which php5 >/dev/null 2>&1; then for sapi in apache2 apache2filter cgi fpm; do if [ -e /etc/php5/${sapi}/php.ini ]; then - cur=$(php5 -c /etc/php5/${sapi}/php.ini -d "error_reporting='~E_ALL'" -r 'print ini_get("session.gc_maxlifetime");') + cur=$(php5 -c /etc/php5/${sapi}/php.ini -d "error_reporting='~E_ALL'" -r 'print ini_get("session.gc_maxlifetime");' 2>/dev/null) [ -z "$cur" ] && cur=0 [ "$cur" -gt "$max" ] && max=$cur fi should fix this problem. Cheers, Ondrej On Mon, Aug 25, 2014, at 09:02, Norbert Schulz wrote: > Package: php5 > Version: 5.4.4-14+deb7u14 > Severity: normal > > Dear Maintainer, > *** Please consider answering these questions, where appropriate *** > > * What led up to the situation? > * What exactly did you do (or not do) that was effective (or > ineffective)? > * What was the outcome of this action? > * What outcome did you expect instead? > > *** End of the template - remove these lines *** > After updating the php5 package every half an hour cron sends an email > with > the subject "Cron <root@server1> [ -x /usr/lib/php5/maxlifetime ] && [ > -x /usr/lib/php5/sessionclean ] && [ -d /var/lib/php5 ] && > /usr/lib/php5/sessionclean /var/lib/php5 $(/usr/lib/php5/maxlifetime)" > and the email body > "find: Ungültiges Argument -delete für "-cmin"." --> translate to english > "find: invalid argrument -delete for "-cmin"." > > Kind regards > Norbert Schulz > > > -- System Information: > Debian Release: 7.6 > APT prefers stable-updates > APT policy: (500, 'stable-updates'), (500, 'stable') > Architecture: i386 (i686) > > Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores) > Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > > Versions of packages php5 depends on: > ii libapache2-mod-php5 5.4.4-14+deb7u14 > ii php5-common 5.4.4-14+deb7u14 > > php5 recommends no packages. > > php5 suggests no packages. > > -- no debconf information > > _______________________________________________ > pkg-php-maint mailing list > pkg-php-ma...@lists.alioth.debian.org > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint -- Ondřej Surý <ond...@sury.org> Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org