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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2022 The PHP Group
All rights reserved.
Last updated: Mon Dec 05 04:05:52 2022 UTC