ID: 14964
Comment by: [EMAIL PROTECTED]
Old Reported By: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Unknown/Other Function
Operating System: linux
PHP Version: 4.1.1
New Comment:

Same error:

* SuSE 7.3, Apache/1.3.20 (Linux/SuSE), SuSE kernel 2.4.10-4GB

* installed php4.1.1 
./configure --with-apxs=/usr/sbin/apxs \
      --with-gd \
      --with-freetype-dir=/usr/include/freetype2 \
      --with-zlib \
      --disable-debug \
      --enable-safe-mode \
      --with-exec-dir \
      --enable-calendar \
      --enable-magic-quotes \
      --with-mysql=/usr \
      --enable-ftp \
      --enable-memory-limit \
      --enable-track-vars  \
      --with-pdflib  \
      --with-jpeg-dir=/usr/lib \
      --with-config-file-path=/usr/local/lib  \
      --with-png-dir=/usr/lib

* copied php.ini-recommended to /usr/local/lib/php.ini

* activated safe_mode in php.ini

* when using header("WWW-Authenticate: ... process dies

* error_log:  [notice] child pid 14153 exit signal Segmentation fault
(11)

* with "safe_mode = off" getting user/pass dialog

* will post more info when needed


Previous Comments:
------------------------------------------------------------------------

[2002-01-10 08:24:12] [EMAIL PROTECTED]

the following problem, a script works flawlessly without safe mode, but
when safe mode enabled, the row

header("WWW-Authenticate: Basic realm=\"anything\"");

causes very strange error: apache doesn't return anything (no headers,
no content) - size 0 (i checked it even through telnet).

when i comment this line, just the HTML message for the incorrect user
or password is displayed (which should be displayed when cancel is hit
by the user)

the code below is

header("HTTP/1.0 401 Unauthorized");
echo 'incorrect user or password';
die();

I'm not 100% percent sure, but I think it is not error of configuring
php

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=14964&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to