You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Eric L. Brine" <eb...@rogers.com> on 2002/07/10 05:45:32 UTC

Any way to list what compile options were used?

Is there any easy way to check which options were used to compile mod_perl.
Or more specifically, is there an easy way to check which type handlers a
mod_perl build allows, if it allows stacked handlers, if it allows method
handlers and if it allows perl sections? Thanks.

--
Eric L. Brine
ikegami@adaelis.com
Same email for ICQ & MSN
http://www.adaelis.com/


Re: Any way to list what compile options were used?

Posted by Stas Bekman <st...@stason.org>.
Eric L. Brine wrote:
> Is there any easy way to check which options were used to compile mod_perl.
> Or more specifically, is there an easy way to check which type handlers a
> mod_perl build allows, if it allows stacked handlers, if it allows method
> handlers and if it allows perl sections? Thanks.

use the guide :)
http://perl.apache.org/release/docs/1.0/guide/install.html#Discovering_Whether_Some_Option_Was_Configured

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: Any way to list what compile options were used?

Posted by Randy Kobes <ra...@theoryx5.uwinnipeg.ca>.
On Tue, 9 Jul 2002, Eric L. Brine wrote:

> Is there any easy way to check which options were used to
> compile mod_perl. Or more specifically, is there an easy way
> to check which type handlers a mod_perl build allows, if it
> allows stacked handlers, if it allows method handlers and if
> it allows perl sections? Thanks.

Assuming mod_perl-1, you can use Apache::MyConfig:

use Apache::MyConfig;
print "$_ => $Apache::MyConfig::Setup{$_}\n"
   for (keys %Apache::MyConfig::Setup);

best regards,
randy kobes