Edit report at http://bugs.php.net/bug.php?id=38120&edit=1
ID: 38120 Comment by: danielle dot davout at gmail dot com Reported by: jms82882 at yahoo dot com Summary: display_errors set to Off while Status is on Status: Bogus Type: Bug Package: *Configuration Issues Operating System: Windows XP PHP Version: 5.1.4 Block user comment: N Private report: N New Comment: for me phpinfo() states display_errors =Off and it is not true ! TPC! System Overview a plugin of wordpress confirms : The display_errors setting in php.ini is set to ON. This means that PHP errors, and warnings are being displayed. Such warnings can cause sensitive information to be revealed to users (paths, database queries, etc.). they are not looking at the same php.ini .. I know the one that phpinfo says it is looking at : PHP Version 5.2.6-1+lenny9 System Linux spihost1 2.6.32-xenU-3831-x86_64 #12 SMP Tue Oct 12 18:07:01 CEST 2010 x86_64 Build Date Aug 4 2010 05:59:12 Server API CGI/FastCGI Virtual Directory Support disabled Configuration File (php.ini) Path /etc/php5/cgi I can see it and even editing it (without being able to change php's behaviour regarding the display of errors once I have changed to On ...) disable_functions no value no value display_errors Off Off display_startup_errors Off Off I wish I knew the one that TPC! System Overview is looking at it would seemed more accurate ! (if it existed) Previous Comments: ------------------------------------------------------------------------ [2006-07-17 13:32:33] jms82882 at yahoo dot com then would you kindly specify which php.ini I am to edit please Thank you ------------------------------------------------------------------------ [2006-07-17 06:36:57] tony2...@php.net You're editing wrong php.ini. ------------------------------------------------------------------------ [2006-07-17 01:30:45] jms82882 at yahoo dot com Description: ------------ Web Server Apache 2.0.58 PHP installed on July 16 2006 PHP Ver. 5.1.4 OS WinXP P4 1.7GHZ/512MB using stadard php.ini not php.ini-dist Modified php.ini setting display_errors to = Off Current status of display_errors = On Saved, Rebooted phpinfo() still states display_errers =On Reproduce code: --------------- http://mail.secompservices.com/phpdiag.php Expected result: ---------------- show phpinfo() and link to curr. php.ini Actual result: -------------- phpinfo states that display_errors = On while php.ini stares it should be off ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=38120&edit=1