|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-02-10 15:15 UTC] tony2001@php.net
[2006-02-10 17:43 UTC] michael202 at gmx dot net
[2006-02-18 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 20:00:02 2025 UTC |
Description: ------------ a log-file has reached its maxmimum file size allowed by the operation and file system. Appending further additional byte to this file ends the php and apache process without any message. Nothing in error_log and console output. Script procession simply stops. Reproduce code: --------------- function append_to_file($aFilename, $aData) { clearstatcache(); $fh = fopen($aFilename, 'a'); if ($fh === false) { return (-1); } $result = fwrite($fh, $aData); fclose($fh); return ($result); } Expected result: ---------------- Error Message or Warning and script continues to execute tested with php 5.1.2 and 5.0.5 Actual result: -------------- script stopped/ended without any notice