www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Micah Anderson <mi...@colltech.com>
Subject config/9994: apache dies on startup with no clues
Date Thu, 28 Feb 2002 18:32:25 GMT

>Number:         9994
>Category:       config
>Synopsis:       apache dies on startup with no clues
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Thu Feb 28 10:40:00 PST 2002
>Originator:     micah@colltech.com
>Release:        1.3.23
GNU/Linux Debian Potato 2.2.18 (with all the newest packages), but I think that this applies
to all operating systems
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. 

Compile PHP statically into apache, then put this in your httpd.conf:
LoadModule php4_module        libexec/libphp4.so
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".
 [In order for any reply to be added to the PR database, you need]
 [to include <apbugs@Apache.Org> 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!     ]

View raw message