>
> Hi,
>
> I've just joined the list looking for an answer to this. A couple of
> others have posted the same problem but I couldn't find any answers.
>
> I'm running RH6.2 with standard Apache, perl and mod_perl rpms. I'm
> hitting a brick wall if I include a 'PerlModule Apache::DBI' line in
> httpd.conf - Apache starts up but shuts down immediately. I created a test
> script that just use's the module and I get the following error
>
> Can't locate object method "module" via package "Apache" at
> /usr/lib/perl5/site_perl/5.005/Apache/DBI.pm line 202. BEGIN
> failed--compilation aborted at ./test.pl line 4.
>
> Which must be what's frying httpd.
>
Well, first of all, you can't just make a perl script with use Apache::xx
and expect perl to run it - the Apache::xx family is only usable from within
the mod_perl environment, so that's probably what's causing your error - but
that wouldn't happen in Apache...

Try looking at your error_log for clues on what's killing Apache.

   Issac

Internet is a wonderful mechanism for making a fool of
yourself in front of a very large audience.
  --Anonymous

Moving the mouse won't get you into trouble...  Clicking it might.
  --Anonymous

PGP Key 0xE0FA561B - Fingerprint:
7E18 C018 D623 A57B 7F37 D902 8C84 7675 E0FA 561B





Reply via email to