Bug #18447: Error-Log File is overwritten for every new Error

From: Date: Sat, 20 Jul 2002 08:52:00 +0000
Subject: Bug #18447: Error-Log File is overwritten for every new Error
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-14685@lists.php.net to get a copy of this message
From: akorthaus@web.de Operating system: Linux PHP version: 4.1.2 PHP Bug Type: Unknown/Other Function Bug description: Error-Log File is overwritten for every new Error Hi! I´ve run php as CGI-Version with Apache. Because I don´t want errors to be shown on the website, I changed the following values of php.ini: display_errors = Off // so no Errors are displayd anymore log_errors = On // Errors should be logged error_log = log.txt // into this file It works fine, but there is only the last error in this log-file, old errors are overwritten. I think error-logs should log ALL errors. If I try from SHELL: php script.php 2>>log.txt it works, but I can´t open all my PHP-Scripts from SHELL and I don´t want to use 2>> every time ;-) rgds Andreas Korthaus -- Edit bug report at http://bugs.php.net/?id=18447&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18447&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18447&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18447&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18447&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18447&r=support Expected behavior: http://bugs.php.net/fix.php?id=18447&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18447&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18447&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18447&r=globals

« previous php.bugs (#14685) next »