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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

Add a Patch

Pull Requests

Add a Pull Request

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: Wed Apr 24 06:01:29 2024 UTC