php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33762 Setting error_reporting doesn't turn off strict warning messages
Submitted: 2005-07-19 05:38 UTC Modified: 2005-07-19 21:34 UTC
From: russell at flora dot ca Assigned:
Status: Not a bug Package: *Configuration Issues
PHP Version: 5.0.4 OS: 2.6.12-1.1398_FC4 Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: russell at flora dot ca
New email:
PHP Version: OS:

 

 [2005-07-19 05:38 UTC] russell at flora dot ca
Description:
------------
I know this has been said to not be a bug, and many bug reports have been ignored, but I have tried everything suggested.  This is the right php.ini file, and I am modifying the ini file and not some other way to set variables that might happen at run-time.

I have gone so far as to set:

error_reporting = 0

in my php.ini.

I can then go to phpinfo() and it displays as I would expect:

Directive	Local Value	Master Value
error_reporting	0	0


Error warnings are still coming out on the output of the pages, even though 

display_errors	Off	Off


Example errors from: http://forumonpublicdomain.ca/ (I may be forced to downgrade PHP to fix this problem.  PHP5 isn't useable for me until this problem is fixed.  phpinfo() is at http://www.forumonpublicdomain.ca/info.php )


strict warning: Assigning the return value of new by reference is deprecated in /home/forumonpublicdomain.ca/www.forumonpublicdomain.ca/themes/engines/phptemplate/phptemplate.engine on line 335.

strict warning: var: Deprecated. Please use the public/private/protected modifiers in /home/forumonpublicdomain.ca/www.forumonpublicdomain.ca/themes/engines/phptemplate/template.php on line 27.

strict warning: var: Deprecated. Please use the public/private/protected modifiers in /home/forumonpublicdomain.ca/www.forumonpublicdomain.ca/themes/engines/phptemplate/template.php on line 28.



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-07-19 10:06 UTC] tony2001@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.


 [2005-07-19 14:40 UTC] russell at flora dot ca
I am running the RPM that comes with Fedora Core 4 updates, which is the latest you list.  (Their version information is php-5.0.4-10.3).


From: http://www.forumonpublicdomain.ca/info.php
PHP Version 5.0.4
 [2005-07-19 21:34 UTC] sniper@php.net
What we mean with latest is something build from the source WE provide, not some heavily patched RH binary.

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Dec 09 21:01:27 2024 UTC