#8490 [Com]: error_log configuration

From: Date: Fri, 02 Jan 2004 06:20:44 +0000
Subject: #8490 [Com]: error_log configuration
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-52696@lists.php.net to get a copy of this message
ID: 8490 Comment by: saneeshkv at hotmail dot com Reported By: wangbo999 at hotmail dot com Status: Closed Bug Type: IIS related Operating System: Windows NT4.0(sp6) PHP Version: 4.0.4 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2001-01-08 12:54:06] 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. ------------------------------------------------------------------------ [2000-12-30 00:34:20] 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. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=8490&edit=1

« previous php.bugs (#52696) next »