ID: 48843 Comment by: jmckenna at gatewaygeomatics dot com Reported By: jeff at jeffweinberger dot com Status: No Feedback Bug Type: PHP options/info functions Operating System: Mac OS/X 10.5.7 client version PHP Version: 5.3.0 New Comment:
Upon more testing I discovered that the code I was using to test was resetting error_reporting() on-the-fly to show all errors. I can disable deprecated notices. Sorry for the confusion. -jeff Previous Comments: ------------------------------------------------------------------------ [2009-07-22 20:33:27] jmckenna at gatewaygeomatics dot com I confirm that this issue exists with today's CVS snapshot (on Windows). -jeff ------------------------------------------------------------------------ [2009-07-22 19:24:28] jmckenna at gatewaygeomatics dot com I have the exact same problem on Windows. By the comment "Please try using this CVS snapshot:" are you saying that this is a known issue with the PHP 5.3.0 release? -jeff ------------------------------------------------------------------------ [2009-07-16 01:00:00] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2009-07-08 20:34:02] j...@php.net Please try using this CVS snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ ------------------------------------------------------------------------ [2009-07-08 00:58:31] jeff at jeffweinberger dot com Description: ------------ I am getting large numbers of "PHP Deprecated..." messages in my php.log file (I expect this, based on some not-yet-updated code). Until I update all my PHP code, I want to shut off these messages (they are causing the log file to exceed several GB). I have tried all of the following in php.ini: error_reporting = E_ALL & ~E_DEPRECATED & E_ERROR & E_WARNING & E_PARSE & E_NOTICE & E_CORE_ERROR & E_USER_ERROR & E_USER_WARNING & E_USER_NOTICE & E_COMPILE_ERROR & E_COMPILE_WARNING error_reporting = ~E_DEPRECATED & E_ALL & E_ERROR & E_WARNING & E_PARSE & E_NOTICE & E_CORE_ERROR & E_USER_ERROR & E_USER_WARNING & E_USER_NOTICE & E_COMPILE_ERROR & E_COMPILE_WARNING error_reporting = E_ALL & E_ERROR & E_WARNING & E_PARSE & E_NOTICE & E_CORE_ERROR & E_USER_ERROR & E_USER_WARNING & E_USER_NOTICE & E_COMPILE_ERROR & E_COMPILE_WARNING & ~E_DEPRECATED error_reporting = E_ERROR & E_CORE_ERROR & E_USER_ERROR & E_COMPILE_ERROR & E_COMPILE_WARNING & ~E_DEPRECATED error_reporting = ~E_DEPRECATED & E_ERROR & E_CORE_ERROR & E_USER_ERROR & E_COMPILE_ERROR & E_COMPILE_WARNING error_reporting = E_ALL & ~E_DEPRECATED error_reporting = 24575 error_reporting = 3 and after each change, I restart Apache (PHP is running as a CGI with Apache 2.2.11) and PHP. in my php_info() display, the error_reporting value shows the correct value for the then-active line (above), but the log entries still appear. I have tried the suggestions of several on the PHP-General mailing list to no avail. Please let me know if there is additional information that will help. Expected result: ---------------- "PHP Deprecated..." messages no longer appear in php.log Actual result: -------------- "PHP Deprecated..." messages still appear in large numbers php.log ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=48843&edit=1