php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8490 error_log configuration
Submitted: 2000-12-30 00:34 UTC Modified: 2001-01-08 12:54 UTC
From: wangbo999 at hotmail dot com Assigned:
Status: Closed Package: IIS related
PHP Version: 4.0.4 OS: Windows NT4.0(sp6)
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: wangbo999 at hotmail dot com
New email:
PHP Version: OS:

 

 [2000-12-30 00:34 UTC] wangbo999 at hotmail dot com
----The following is the error_log configuration of php.ini-
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Error handling and logging ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
error_reporting = E_ALL ; 
display_errors	= Off	; 
display_startup_errors = Off	; 
log_errors = On	; 
track_errors = Off ; 
error_log = "E:\Inetpub\Log\php\php.log"; 
warn_plus_overloading	= Off	;	

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

the line: error_log is right for windows NT4.0? It does not work, but in php3.0.14, It works properly.
Thank you.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-08 12:54 UTC] cynic@php.net
I'm not sure, but the problem is probably the backslashes. Either escape them ("e:\\inetpub\\log\\php\\php.log") or use slashes ("e:/inetpub/log/php/php.log"). 
If this doesn't help, reopen the bug report.
 [2004-01-02 01:20 UTC] saneeshkv at hotmail dot com
I'm trying to use HAPedit.
When compile Error following is generated
specify "error_log" file.
But I specified it in the C:\WINNT\php.ini in different ways

1.error_log = "C:\php\temp\PhpLog.log"; 
2.error_log = "C:\\php\\temp\\PhpLog.log"; 
3.error_log = "C:/php/temp/PhpLog.log"; 

No one is working
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sat Dec 06 04:00:01 2025 UTC