Re: ModPerl2, Apache2, FreeBSD, ports and missing ModPerl::Registry

[prev] [thread] [next] [Date index for 2005/04/27]

From: angie ahl
Subject: Re: ModPerl2, Apache2, FreeBSD, ports and missing ModPerl::Registry
Date: 16:06 on 27 Apr 2005
I found the problem

It seems that it was not using the Apache2 directory of modules, it
seems that the missing mp2 modules were in there.

1 change to the httpd.conf fixed it.

at the top of my vhost I put:

PerlModule Apache2

Then it found what it needed. This wasn't in the httpd.conf example in
getting your feet wet for mp2

http://perl.apache.org/docs/2.0/user/intro/start_fast.html

Should it be there, is it required or is there something wrong with my setu=
p?

I also had a page that had the -wT switch on the first line which gave an e=
rror:
can't locate Apache::Warn if I remember correctly. getting rid of the
switch and putting in use strict; use warnings; fixed that, but
thought I should mention it for the archive in case anyone finds this
in the future following the same set up.

Cheers

Angie

On 4/27/05, Stas Bekman <stas@xxxxxx.xxx> wrote:
> angie ahl wrote:
> [...]
> > I get an ISE and the errorlog says
> >
> > ModPerl::Registry': Can't locate ModPerl/Registry.pm in @INC
> >
> > so it is calling ModPerl::Registry but can't find it in @INC, but to
> > make things stranger, I have a cgi script called perldigger that gives
> > you a system overview and it says ModPerl::Registry is there, as does
> > the list of installed perl modules under the users admin in
> > directadmin.
> >
> > Huh?
> >
> > It's definately running Apache2:
> >
> > Apache/2.0.52 (Unix) mod_perl/1.99_17-dev Perl/v5.8.5 PHP/4.3.11
> > mod_ssl/2.0.52 OpenSSL/0.9.7d
>=20
> Angie, please install mod_perl-1.999.22 (aka mp2.0-RC5) [1] and try again=
.
> If still in trouble please submit a proper bug report as explained here:
> http://perl.apache.org/bugs/. Thank you.
>=20
> [1] http://perl.apache.org/download/index.html
>=20
> --
> __________________________________________________________________
> Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
> http://stason.org/     mod_perl Guide ---> http://perl.apache.org
> mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
> http://modperlbook.org http://apache.org   http://ticketmaster.com
>

Re: ModPerl2, Apache2, FreeBSD, ports and missing ModPerl::Registry
angie ahl 16:06 on 27 Apr 2005

Generated at 15:53 on 25 May 2005 by mariachi v0.52