[php-maint] Bug#674944: php5-common: PHP-5.4.3-5 : No way to exclude E_STRICT warnings from error reporting
roger crettol
roger.crettol at bluewin.ch
Mon May 28 20:45:37 UTC 2012
Package: php5-common
Version: 5.4.3-5
Severity: important
Tags: upstream
I have tried to tweak the error_reporting variable in /etc/php5/apache2/php.ini
to mute warnings about PHP-4 compatibility problems in my Drupal 6.26
installation, without success - the only way I found was to set error_reporting
= 0.
Setting the variable to either E_ERROR or E_WARNING produces the warnings
related to strict-ness violations. The documentation leas one to believe that
E_ALL now includes E_STRICT, but this doesn't seem to be the case, since both
E_ERROR and E_WARNING (values 1 and 2) trigger the warnings.
Is this behaviour really intended, or has a small bug slipped in ?
Thanks for a reply.
-rg-
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'stable-updates'), (300, 'unstable'), (200, 'stable'), (1, 'experimental')
Architecture: i386 (x86_64)
Kernel: Linux 3.1.0-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
Versions of packages php5-common depends on:
ii dpkg 1.16.3
ii libc6 2.13-32
ii psmisc 22.16-1
ii sed 4.2.1-9
ii ucf 3.0025+nmu3
php5-common recommends no packages.
php5-common suggests no packages.
-- no debconf information
More information about the pkg-php-maint
mailing list