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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sun Jun 30 17:01:30 2024 UTC