> > > It would be nice > > > if there was an apxs flag that would return the MPM type. > > > > +1 > > There is. -q will query for any value in config_vars.mk, and MPM_NAME > is in that file. So `apxs -q MPM_NAME` will return the configured MPM > type.
Ah right. Is there a way to check at runtime as well? I've added a PHP configure check now to the apache2filter sapi module so it will come up non-threaded by default if it sees Apache2-prefork. Just a bit worried about someone changing their MPM after the fact, so perhaps a runtime check is needed as well. -Rasmus