From: kostia@obninsk.com
Operating system: linux 2.2.16-20
PHP version: 4.1.1
PHP Bug Type: Website problem
Bug description: apache chush and write when i use header('') function;
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 bug report at: http://bugs.php.net/?id=15159&edit=1