httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <>
Subject Re: getting MPM model of apache web server
Date Mon, 08 Sep 2003 12:36:36 GMT

Gagan Puri wrote:
> Hi All,
> I have an application in which I need to check whether the apache server 
> is prefork based or worker MPM based.  How can I get the model info from 
> web server in my application. Normal commad line way to check this is by 
> simply giving the command apachectl -V. Is there any apache specific api 
> which gives info regading the MPM model of apache web server server.

see ap_mpm_query.

for an example of its use, try

you can also read through this thread

for ideas on why it's probably better to test for the existence of threads 
as a server property, versus a specific mpm model like worker.



View raw message