#31183 [NEW]: exit status 128 when printing something before header()

From: Date: Sun, 19 Dec 2004 00:14:56 +0000
Subject: #31183 [NEW]: exit status 128 when printing something before header()
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-70619@lists.php.net to get a copy of this message
From: marco-glatz at web dot de Operating system: WinXP PHP version: 5.0.2 PHP Bug Type: Apache2 related Bug description: exit status 128 when printing something before header() Description: ------------ when i print for example some debugging-informations before i call the header()-function apache says: Parent: child process exited with status 128 -- Restarting. Reproduce code: --------------- $language = 'de'; $charset = 'iso-8859-1'; var_dump($language); header('Content-language: '. $language); header('Content-type: text/html; charset='. $charset); Expected result: ---------------- something like "cannot send headers, output already started at ...." -- Edit bug report at http://bugs.php.net/?id=31183&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31183&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31183&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31183&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=31183&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=31183&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=31183&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=31183&r=needscript Try newer version: http://bugs.php.net/fix.php?id=31183&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=31183&r=support Expected behavior: http://bugs.php.net/fix.php?id=31183&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=31183&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=31183&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=31183&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31183&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=31183&r=dst IIS Stability: http://bugs.php.net/fix.php?id=31183&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=31183&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=31183&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=31183&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=31183&r=mysqlcfg

« previous php.bugs (#70619) next »