[PHP-DEV] PHP 4.0 Bug #7491: php4-cgi crashes under apache From: cech <email protected>
Date: 10/27/00

From: cech <email protected>
Operating system: Debian GNU/Linux
PHP version: 4.0.3pl1
PHP Bug Type: Apache related
Bug description: php4-cgi crashes under apache

Hi,
David Biro has told me, that this script
   #!/usr/bin/php
   <?
    phpinfo();
   ?>

works if run by a user, but it segfaults when run/viewed under apache. I can only confirm it and attach a backtrace
#0 0x0 in ?? ()
#1 0x80a5f76 in php_body_write ()
#2 0x805b7a4 in main ()
#3 0x4011ebcc in __libc_start_main () from /lib/libc.so.6

                    Petr Cech
P.S. I've been also asked, why the X-Powerd-By: is displayed first, and not after the Content-Type: as it should

-- 
Edit Bug report at: http://bugs.php.net/?id=7491&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>