Bug #15159 Updated: apache chush and write when i use header('') function;

From: Date: Wed, 23 Jan 2002 08:39:56 +0000
Subject: Bug #15159 Updated: apache chush and write when i use header('') function;
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-77865@lists.php.net to get a copy of this message
ID: 15159 Updated by: sesser Old Summary: apache chush and write when i use header('') function; Reported By: kostia@obninsk.com Old Status: Open Status: Duplicate Bug Type: Apache related Operating System: linux 2.2.16-20 PHP Version: 4.1.1 New Comment: 1) Next time FIRST search the bug database. 2) That bug was fixed some days ago in CVS. (its a one line fix in SAPI.c) Previous Comments: ------------------------------------------------------------------------ [2002-01-22 09:57:12] imajes@php.net this isn't a website problem, but potentially an apache problem. ------------------------------------------------------------------------ [2002-01-22 05:47:16] kostia@obninsk.com function DoAuthorise(){ header( "WWW-Authenticate: Basic realm=\"Catalog Administaror Login\"" ); header( "HTTP/1.0 401 Unauthorized" ); echo "Authorization require"; exit; } this is not work in php 4.1.1 !!! Apache log: [notice] child pid 6527 exit signal Segmentation fault (11) When i comment all header invocation all fine my apache configuration: Apache/1.3.12 (Unix) (Red Hat/Linux) mod_ssl/2.6.6 OpenSSL/0.9.5a PHP/4.1.1 mod_perl/1.24 when a change my php module to previous version 4.0.6 the code above work OK! ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=15159&edit=1

« previous php.dev (#77865) next »