[php-maint] Bug#590485: cron job /etc/cron.d/php5 deprecated

Antoine Pardigon antoine.pardigon at m4x.org
Mon Jul 26 17:07:45 UTC 2010


Package: php5
Version: 5.3.2-2
Severity: normal

Hi,

since migrating to php5 5.3.2-2, I have 2 warnings every hour from my cron
daemon : 

------------
Cron <root at tino2>   [ -x /usr/lib/php5/maxlifetime ] && [ -d
/var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) 
	-print0 | xargs -n 200 -r -0 rm
Warning: Directive 'register_long_arrays' is deprecated in PHP
	5.3 and greater in Unknown on line 0

Warning: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3
	and greater in Unknown on line 0
------------

the /usr/lib/php5/maxlifetime script seems to use deprecated functions,
but I don't know if or by what they have been replaced. I don't know if
the script is still needed for session cleaning in 5.3

Regards,

-- 
Antoine


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (800, 'unstable'), (750, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.34 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5 depends on:
ii  php5-cgi                      5.3.2-2    server-side, HTML-embedded scripti
ii  php5-common                   5.3.2-2    Common files for packages built fr

php5 recommends no packages.

php5 suggests no packages.

-- no debconf information






More information about the pkg-php-maint mailing list