You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Hemond, Steve" <SH...@SMURFIT.com> on 2004/02/03 17:34:01 UTC

Testing mod_perl

Hi people,

I just installed Apache2/mod_perl2 and wants to test it.

I don't plan to use any templating system so I will do plain CGI. I,
however, would like to take profit of the apache::registry for
performance.

Here is my conf for my site :

<Location />
  SetHandler modperl
  PerlSendHeader On
  PerlHandler Apache::Registry
  Options ExecCGI
</Location>

I restart Apache and there I go :

[Tue Feb 03 11:23:46 2004] [error] failed to resolve handler
`Apache::Registry'
[Tue Feb 03 11:23:46 2004] [error] [client 172.17.2.156] Can't locate
object method "boot" via package "mod_perl" at
/usr/local/lib/perl5/site_perl/5.8.2/aix/Apache/Constants.pm line 8.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.2/aix/Apache.pm line 6.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.2/aix/Apache.pm line 6.
Compilation failed in require at
/usr/local/lib/perl5/site_perl/5.8.2/aix/Apache/Registry.pm line 2.
BEGIN failed--compilation aborted at
/usr/local/lib/perl5/site_perl/5.8.2/aix/Apache/Registry.pm line 2.
Compilation failed in require at (eval 2) line 3.

What's wrong?


Steve Hemond
Programmeur Analyste / Analyst Programmer
Smurfit-Stone, Ressources Forestieres
La Tuque, P.Q.
Tel.: (819) 676-8100 X2833
shemond@smurfit.com 


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: Testing mod_perl

Posted by Stas Bekman <st...@stason.org>.
Ged Haywood wrote:
> Hi there,
> 
> On Tue, 3 Feb 2004, Hemond, Steve wrote:
> 
> 
>>I just installed Apache2/mod_perl2 and wants to test it.
>>...
>>[Tue Feb 03 11:23:46 2004] [error] failed to resolve handler `Apache::Registry'
>>...
>>What's wrong?
> 
> 
> http://perl.apache.org/docs/2.0/user/intro/start_fast.html#Registry_Scripts

And:
http://perl.apache.org/docs/2.0/user/porting/compat.html#C_Apache__Registry___C_Apache__PerlRun__and_Friends

__________________________________________________________________
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

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: Testing mod_perl

Posted by Ged Haywood <ge...@www2.jubileegroup.co.uk>.
Hi there,

On Tue, 3 Feb 2004, Hemond, Steve wrote:

> I just installed Apache2/mod_perl2 and wants to test it.
> ...
> [Tue Feb 03 11:23:46 2004] [error] failed to resolve handler `Apache::Registry'
> ...
> What's wrong?

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

73,
Ged.



-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html