php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #7491 php4-cgi crashes under apache
Submitted: 2000-10-27 06:47 UTC Modified: 2000-12-05 12:16 UTC
From: cech at debian dot org Assigned:
Status: Closed Package: Apache related
PHP Version: 4.0.3pl1 OS: Debian GNU/Linux
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: cech at debian dot org
New email:
PHP Version: OS:

 

 [2000-10-27 06:47 UTC] cech at debian dot org
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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-12-04 09:23 UTC] sniper@php.net
Could you please check if this happens with PHP4.0.4RC3:

http://www.php.net/distributions/php-4.0.4RC3.tar.gz

And to get useful backtrace, configure PHP 
with --enable-debug 

--Jani
 [2000-12-05 12:16 UTC] cech at debian dot org
seems fixed in 4.0.4RC3. Closing
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 14:01:32 2024 UTC