Received: (qmail 51295 invoked by uid 501); 28 Feb 2002 18:32:25 -0000 Message-Id: <20020228183225.51293.qmail@apache.org> Date: 28 Feb 2002 18:32:25 -0000 From: Micah Anderson Reply-To: micah@colltech.com To: submit@bugz.apache.org Subject: apache dies on startup with no clues X-Send-Pr-Version: 3.110 >Number: 9994 >Category: config >Synopsis: Loading the same module twice causes silent failure. >Confidential: no >Severity: serious >Priority: medium >Responsible: apache >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Feb 28 10:40:00 PST 2002 >Closed-Date: >Last-Modified: Sun Mar 03 11:27:56 PST 2002 >Originator: micah@colltech.com >Release: 1.3.23 >Organization: >Environment: GNU/Linux Debian Potato 2.2.18 (with all the newest packages), but I think that this applies to all operating systems >Description: Please see the PHP bug sunmitted at the following address. http://bugs.php.net/bug.php?id=15774 The problem is that if you compile in PHP statically (and I assume this applies for all modules), and *also* try to load it in the config file, apache stops right after you run it, without any errors at all to help you figure out what the problem is. I spent hours trying to figure out this problem, I suggested to PHP people that this be checked for and noted in a logfile, but if my past experience serves me, the PHP people will say that Apache should do it, and apache will say the PHP people should do it. I am only asking for some coordination, it would be so much nicer. When you get no error, and it could be a Apache or a PHP problem, but really it is both and a vicious problem. >How-To-Repeat: Compile PHP statically into apache, then put this in your httpd.conf: LoadModule php4_module libexec/libphp4.so >Fix: A simple check to see if a module is already loaded and a cluestick to the user's head would suffice, "Attempting to dynamically load a module that is compiled in statically". >Release-Note: >Audit-Trail: Comment-Added-By: slive Comment-Added-When: Sun Mar 3 11:27:56 PST 2002 Comment-Added: Improve the description. Synopsis-Changed-From: apache dies on startup with no clues Synopsis-Changed-To: Loading the same module twice causes silent failure. Synopsis-Changed-By: slive Synopsis-Changed-When: Sun Mar 3 11:27:56 PST 2002 >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]