php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #68689 log_errors description is misleading
Submitted: 2014-12-30 03:41 UTC Modified: 2017-10-24 06:28 UTC
From: chealer at gmail dot com Assigned:
Status: Open Package: *Configuration Issues
PHP Version: Irrelevant OS:
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: chealer at gmail dot com
New email:
PHP Version: OS:

 

 [2014-12-30 03:41 UTC] chealer at gmail dot com
Description:
------------
The description of log_errors is:
 log_errors boolean

    Tells whether script error messages should be logged to the server's error log or error_log. This option is thus server-specific.

        Note:

        You're strongly advised to use error logging in place of error displaying on production web sites.


As discussed in #66567, error_log is the directive allowing to choose how to log. log_errors is just a boolean determining whether PHP should log errors or not.

The first sentence is not exactly wrong, but unclear. The following sentence ("This option is thus server-specific.") belongs to error_log's description, not here.

I suggest replacing the whole English paragraph with just:
Tells whether script error messages should be logged.

The only problem with that is it doesn't refer to error_log, about which the reader will naturally want to learn next.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-04-28 18:31 UTC] pasindu@php.net
-Assigned To: +Assigned To: pasindu
 [2017-01-28 12:50 UTC] cmb@php.net
-Type: Bug +Type: Documentation Problem -Package: Documentation problem +Package: *Configuration Issues
 [2017-10-24 06:28 UTC] kalle@php.net
-Status: Assigned +Status: Open -Assigned To: pasindu +Assigned To:
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Mar 19 09:01:30 2024 UTC