On 05/29/2012 04:45 AM, roger crettol wrote:
> 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-

Hi,

Have you tried something like this?

error_reporting = E_ALL & ~E_STRICT

The way to do it is that & ~E_STRICT removes the E_STRICT bit from the
error reporting. You can do that with *many* other stuff. If you succeed
with putting error_reporting = 0, then I believe you simply didn't know
how to handle error_reporting.

Please try again and let us know, otherwise we will simply close this
bug, because it really seem to me that the mistake is on your side.

Cheers,

Thomas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to