I usually test for $ENV{MOD_PERL} or $ENV{MOD_PERL_API_VERSION}

Thanks,
Boysenberry

boysenberrys.com | habitatlife.com | selfgnosis.com

On Sep 27, 2005, at 1:51 AM, [EMAIL PROTECTED] wrote:

Hi.

26Sep2005 @ 09:40 Geoffrey Young thusly spake


Alexander Charbonnet wrote:
Rename your Perl binary and see if it still works.  :-)

egads, no.

How can I be sure that is being run by mod_perl and not by perl?

http://perl.apache.org/docs/1.0/guide/ install.html#How_can_I_tell_whether_mod_perl_is_running_

httpd -l doesn't show mod_perl.
As I understand it: httpd -l only shows the statically linked modules.
I obviously use mod_perl as a DSO.

-------

I have renamed my perl binary.
My scripts work from apache.
If I run them from the command line they don't.

Is it safe to assume that mod_perl is working?



--Geoff

--
............._..
.|  .| |.|/.|_ .
.|__.|_|.|\.|_ .
:61 421 276 282:



Reply via email to