The httpd server startup options can be retrieved using Apache::exists_config_define( ). For example, to check if the server was started in single-process mode:
panic% httpd -DONE_PROCESS
use the following code:
if (Apache::exists_config_define("ONE_PROCESS")) {
print "Running in a single process mode";
}
 
Continue to: