php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38120 display_errors set to Off while Status is on
Submitted: 2006-07-17 01:30 UTC Modified: 2006-07-17 13:32 UTC
From: jms82882 at yahoo dot com Assigned:
Status: Not a bug Package: *Configuration Issues
PHP Version: 5.1.4 OS: Windows XP
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jms82882 at yahoo dot com
New email:
PHP Version: OS:

 

 [2006-07-17 01:30 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-07-17 06:36 UTC] tony2001@php.net
You're editing wrong php.ini.
 [2006-07-17 13:32 UTC] jms82882 at yahoo dot com
then would you kindly specify which php.ini I am to edit please
Thank you
 [2011-04-10 15:52 UTC] danielle dot davout at gmail dot com
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)
 [2011-04-10 23:41 UTC] danielle dot davout at gmail dot com
My mistake ! sorry..
I forgot I have also changed my /etc/wordpress/wp-config.php
that overrides WP_DEBUG !
define('WP_DEBUG', false); did the "trick"
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 09:01:28 2024 UTC