use Apache2::ServerUtil; my $s = Apache2::ServerUtil->server; $s->error_log2stderr(); 1;