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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Sun Apr 28 14:01:29 2024 UTC