[PHP-DEV] Bug #11093: Apache crashes when output buffering is used and fatal errors occure From: mail <email protected>
Date: 05/24/01

From: mail <email protected>
Operating system: Win32
PHP version: 4.0.5
PHP Bug Type: Reproducible crash
Bug description: Apache crashes when output buffering is used and fatal errors occure

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 Bug report at: http://bugs.php.net/?id=11093&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>