Bug #11093 Updated: Apache crashes when output buffering is used and fatal errors occure

From: Date: Wed, 12 Dec 2001 10:45:54 +0000
Subject: Bug #11093 Updated: Apache crashes when output buffering is used and fatal errors occure
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-73251@lists.php.net to get a copy of this message
ID: 11093 Updated by: yohgaki Reported By: mail@customdesign.de Old Status: Feedback Status: Closed Bug Type: Output Control Operating System: Win32 PHP Version: 4.0.5 New Comment: User reported, he/she is no longer using Windows98/ME. Cannot reproduce under Linux with 4.1.0, so closed. Previous Comments: ------------------------------------------------------------------------ [2001-12-12 04:28:58] yohgaki@php.net Does this happen with 4.1.0? ------------------------------------------------------------------------ [2001-05-24 13:05:28] mail@customdesign.de I use Output Buffering for some php scripts and develop on a Win32 system. One time i tried to call a not existing function -> Apache crashes when i try to load the php document in a browser. I don't have made a UNIX test right now, but on Win32 (Win 95/98/ME) Apache/PHP4TS.DLL crashes when i produce fatal errors (like the function call). Parse errors and others are displayed like normal. If i disable the output functions, the fatal error message is displayed like normal. AUTO PREPEND FILE ----------------- <? ob_start(); ?> Resquested document: (by example: index.php) --------------------------------------------- <? undefinied_function(); // this function does not exist ?> AUTO APPEND FILE ---------------- <? $SITE_CONTENTS=ob_get_contents(); ob_end_clean(); print $SITE_CONTENTS; ?> Additional Enviroment Info: --------------------------- OS: WinME,Win98 SE PHP: 4.05 running as Apache module Loaded PHP Extensions: zlib,gd Apache: Version 1.3.12 ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=11093&edit=1

« previous php.dev (#73251) next »