#44708 [Opn->Fbk]: display errors = Off, but errors still display.

From: Date: Sat, 12 Apr 2008 22:28:31 +0000
Subject: #44708 [Opn->Fbk]: display errors = Off, but errors still display.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-124179@lists.php.net to get a copy of this message
 ID:               44708
 Updated by:       jani@php.net
 Reported By:      pinnwilliam at yahoo dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         *General Issues
 Operating System: Windows XP
 PHP Version:      5.2.5
-Assigned To:      
+Assigned To:      fb-req-jani
 New Comment:

First of all: make sure your php.ini file is actually loaded.
"display_errors" is On by default (IIRC) so if no php.ini (or wrong!) is
loaded you'll see the errors. 

To check what php.ini was used: <?php phpinfo(); ?> and there's the
information in the first block. Path where it's looked for and below
that what file exactly was loaded.


Previous Comments:
------------------------------------------------------------------------

[2008-04-12 21:13:00] pinnwilliam at yahoo dot com

Description:
------------
I am using Apache server 2.2 and PHP 5.  I was able to turn on "display
errors" in the php.ini file, but when I attemped to shut "display
errors" off, i.e., "display_errors = Off," errors still display on the
.php files.  I have restarted the server and computer.  Doing these
things does not solve the problem.   

Reproduce code:
---------------
display_errors = Off

Expected result:
----------------
Errors won't display on the .php page.  

Actual result:
--------------
Errors continue to show on the .php page.  


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=44708&edit=1



Thread (6 messages)

« previous php.bugs (#124179) next »