php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1656 Apache 1.3.6 crash when using Apache::Status in startup of mod_perl
Submitted: 1999-07-03 19:36 UTC Modified: 1999-07-04 10:25 UTC
From: lee at arco dot met dot fu-berlin dot de Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 3.0.11 OS: Linux 2.2.10
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: lee at arco dot met dot fu-berlin dot de
New email:
PHP Version: OS:

 

 [1999-07-03 19:36 UTC] lee at arco dot met dot fu-berlin dot de
Apache-1.3.6, mod_perl 1.20,  php 3.0.11
Upgrading from php 3.0.8 to 3.0.11,  Apache crashes on start.

It turned out that the offending configuration was the startup.pl
loaded by mod_perl at start.

The startup.pl looks like this:

use strict;
use lib "/home/www/perl/lib";
$ENV{GATEWAY_INTERFACE} =~ /^CGI-Perl/ or die "GATEWAY_INTERFACE not Perl!";
use Apache::Registry;
use Apache::Status;
use Apache::DBI;
Apache::DBI->connect_on_init("dbi:Pg:dbname=web", "nobody", "");
use CGI (); CGI->compile(':all');
use CGI::Carp ();
use DBI ();
use DBD::Pg ();
1;

commenting out Apache::Status made Apache to start normally.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-07-04 10:25 UTC] rasmus at cvs dot php dot net
This was a mod_perl related problem
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 13:00:01 2026 UTC