php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #25875 display_errors
Submitted: 2003-10-15 05:52 UTC Modified: 2003-10-15 07:17 UTC
From: oleth5962 at yahoo dot gr Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: 4.3.3 OS: win 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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: oleth5962 at yahoo dot gr
New email:
PHP Version: OS:

 

 [2003-10-15 05:52 UTC] oleth5962 at yahoo dot gr
Description:
------------
In the section "XXVI. Error Handling and Logging Functions" of PHP Manual, display_errors is said to be default to "1". Instead there is the following section in php.ini :
; display_errors = Off       [Security]


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-15 07:12 UTC] tony2001 at phpclub dot net
I don't see any bugs here.
The value in php.ini is commented out and doesn't affect on this directive.
Just look into phpinfo() and you'll find, that display_errors is On by default.
The fact, that commented string in php.ini contains "Off" means, that it is recommended to set it Off on production servers.
 [2003-10-15 07:17 UTC] sniper@php.net
It's set to 'On' inside the sources. (Try without any php.ini and you'll see many options have default values..)

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Aug 05 00:00:03 2025 UTC