php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #27005 Php.ini error_log incomplete documentation
Submitted: 2004-01-22 06:41 UTC Modified: 2004-09-17 14:33 UTC
From: navy at cergynux dot Net Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.3.4 OS: Linux Mandrake 9.2
Private report: No CVE-ID: None
 [2004-01-22 06:41 UTC] navy at cergynux dot Net
Description:
------------
Error logging in apache ( with mod_php ) log file even if
error_log = (file) is defined in php.ini


Reproduce code:
---------------
php.ini
.....
error_log = /var/log/php/error.log
.....


Expected result:
----------------
Error logging into defined php.ini log file

Actual result:
--------------
Missing important notice that :
1st php.ini specified error_log file must exist
2nd it must be owned by apache uid
3rd it must ( of course ... ) be chmod to rw for apache uid

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-09-17 14:33 UTC] vrana@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.

"The file should be writable by the web server's user."

AFAIK the file doesn't need to exist and doesn't need to be owned by Apache (tested).
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Jul 05 17:01:34 2025 UTC