Segmentation faults on headers()
| From: | Scott w | Date: | Thu, 20 Dec 2001 05:53:58 +0000 |
| Subject: | Segmentation faults on headers() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-78290@lists.php.net to get a copy of this message | ||
Hello,
I have a problem I can't quite figure out. I recently upgraded PHP from 4.0.6 to 4.1.0. I can no longer use auth-headers...
When I try to load a page with for instance:
<?php
if(!isset($PHP_AUTH_USER)) {
header('WWW-Authenticate: Basic realm="Admin Area"');
header('HTTP/1.0 401 Unauthorized');
echo 'Authorization Required.';
exit;
} else {
echo "this is it";} ?> I receive a "Page can not be displayed" error on the browser. When I look at the httpd/error file, I see the following error: [Wed Dec 19 21:48:27 2001] [notice] child pid 4996 exit signal Segmentation fault(11) I can't seem to figure out what this means...something has gone haywire, but I can't tell what it is. Anyone know what this is? Thanks, Scott _________________________________________________________________ MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx