Your message dated Wed, 8 Feb 2012 20:22:03 +0100
with message-id 
<CALjhHG-iPRf__7=ac3qx9k0k9b86eqzr10ikv_uq5xb5hzu...@mail.gmail.com>
and subject line register_long_arrays was removed from PHP 5.4
has caused the Debian Bug report #652872,
regarding php5-cli: Configuration file includes deprecated option 
'register_long_arrays'
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
652872: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652872
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: php5-cli
Version: 5.3.8.0-1+b1
Severity: normal

After upgrading from lenny to squeeze, I noticed the following error in my PHP 
scripts which are run on the command line:

PHP Warning: Directive 'register_long_arrays' is deprecated in PHP 5.3 and 
greater in Unknown line 0

Looking at the file /etc/php5/cli/php.ini, it contains the following line:

register_long_arrays = Off

This warning will not affect users by default, but I have switched the warning 
level to E_ALL (default is E_ALL & ~E_DEPRECATED).

It is possible to remove this warning by editing php.ini and commenting out the 
register_long_arrays line, but that means changing a Debian-supplied 
configuration file and may cause conflicts with any future updates.

If this option was commented out in the Debian-supplied file, it would not 
affect users, since it is disabled/Off anyway, but it would prevent warnings 
for anyone who has switched on all errors. I also think it should be commented 
out with a view to being removed completely, because this option has been 
deprecated upstream and the PHP documentation explictly warns that 'relying on 
this feature is highly discouraged'.


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 3.0.0-1-486
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5-cli depends on:
ii  libbz2-1.0        1.0.6-1
ii  libc6             2.13-21
ii  libcomerr2        1.42-1
ii  libdb5.1          5.1.25-11
ii  libgssapi-krb5-2  1.10+dfsg~alpha1-6
ii  libk5crypto3      1.10+dfsg~alpha1-6
ii  libkrb5-3         1.10+dfsg~alpha1-6
ii  libmagic1         5.09-2
ii  libonig2          5.9.1-1
ii  libpcre3          8.12-4
ii  libqdbm14         1.8.78-1+b1
ii  libssl1.0.0       1.0.0e-3
ii  libxml2           2.7.8.dfsg-5
ii  mime-support      3.51-1
ii  php5-common       5.3.8.0-1+b1
ii  tzdata            2011n-1
ii  ucf               3.0025+nmu2
ii  zlib1g            1:1.2.3.4.dfsg-3

php5-cli recommends no packages.

Versions of packages php5-cli suggests:
pn  php-pear  <none>

-- no debconf information



--- End Message ---
--- Begin Message ---
Version: 5.4.0~beta2-1

Hi,

we have been using upstream supplied configuration files which
included this deprecated directive.  As it was removed from PHP 5.4
it got fixed upstream. Marking as fixed in first PHP 5.4 version that
appeared in Debian.

O.
-- 
Ondřej Surý <[email protected]>


--- End Message ---

Reply via email to