* Mladen Turk [EMAIL PROTECTED] wrote:
Hi,
Anyone knows how to detect the mpm used so that
module can be build with/without threading code
depending if the mpm is prefork or any other threaded
one like worker by using apxs?
are you shure you really want to know the mpm name instead of
just
* Guy Hulbert [EMAIL PROTECTED] wrote:
snip
or if you've already compiled it ...
$ /usr/sbin/apache2 -V | grep MPM
-D APACHE_MPM_DIR=server/mpm/worker
Bad, very bad. Breaks crosscompiling.
Ah, yeah, apache cannot be crosscompile'd w/o massive manual
intervention at all ... ;-o
(but I'm
Hi,
Anyone knows how to detect the mpm used so that
module can be build with/without threading code
depending if the mpm is prefork or any other threaded
one like worker by using apxs?
The only way I can imagine is to parse the stdout from
httpd, but IMHO something like
apxs -q MPM should do
Em 19/08/2006, às 07:55, Mladen Turk escreveu:
Hi,
Anyone knows how to detect the mpm used so that
module can be build with/without threading code
depending if the mpm is prefork or any other threaded
one like worker by using apxs?
Why use apxs ?
mpm.h:
#define WORKER_MPM
#define MPM_NAME
On Sat, 2006-19-08 at 10:18 -0300, Davi Arnaut wrote:
Em 19/08/2006, às 07:55, Mladen Turk escreveu:
Hi,
Anyone knows how to detect the mpm used so that
module can be build with/without threading code
depending if the mpm is prefork or any other threaded
one like worker by using
On Sat, 19 Aug 2006, Guy Hulbert wrote:
On Sat, 2006-19-08 at 10:18 -0300, Davi Arnaut wrote:
Em 19/08/2006, �s 07:55, Mladen Turk escreveu:
Anyone knows how to detect the mpm used so that
module can be build with/without threading code
depending if the mpm is prefork or any other threaded
Randy Kobes wrote:
Anyone knows how to detect the mpm used so that
module can be build with/without threading code
depending if the mpm is prefork or any other threaded
one like worker by using apxs?
/path/to/apxs -q MPM_NAME
That was exactly what I needed.
Thanks,
Mladen.
Mladen Turk wrote:
Randy Kobes wrote:
Anyone knows how to detect the mpm used so that
module can be build with/without threading code
depending if the mpm is prefork or any other threaded
one like worker by using apxs?
/path/to/apxs -q MPM_NAME
That was exactly what I needed.
Well,
William A. Rowe, Jr. wrote:
Mladen Turk wrote:
Randy Kobes wrote:
Anyone knows how to detect the mpm used so that
module can be build with/without threading code
depending if the mpm is prefork or any other threaded
one like worker by using apxs?
/path/to/apxs -q MPM_NAME
That was exactly