I try Apache 2 & Mod_perl 2, But when I start Apache, It show this :
[Thu Jun 20 12:16:05 2002] [error] Can't locate object method "boot" via package
"mod_perl" at D:/Perl/site/lib/Apache/Constants.pm line 8.
Compilation failed in require at D:/Perl/site/lib/Apache.pm line 6.
BEGIN failed--compilation aborted at D:/Perl/site/lib/Apache.pm line 6.
Compilation failed in require at D:/Perl/site/lib/Apache/Registry.pm line 2.
BEGIN failed--compilation aborted at D:/Perl/site/lib/Apache/Registry.pm line 2.
Compilation failed in require at /Apache/conf/startup.pl line 9.
BEGIN failed--compilation aborted at /Apache/conf/startup.pl line 9.
Compilation failed in require at (eval 1) line 1.
[Thu Jun 20 12:16:05 2002] [error] Can't load Perl file: /Apache/conf/startup.pl
for server 86.0.191.9:88, exiting...
startup.pl :
use Apache2 ();
use ModPerl::Util ();
use Apache::RequestRec ();
use Apache::RequestIO ();
use Apache::RequestUtil ();
use Apache::Server ();
use Apache::ServerUtil ();
use Apache::Connection ();
use Apache::Log ();
use Apache::Const -compile => ':common';
use APR::Const -compile => ':common';
use APR::Table ();
use Apache::compat ();
use ModPerl::Registry ();
use CGI ();
use lib 'd:/sxforum/admin';
require GForum::mod_perl;
1;
httpd.conf :
# The following are mod_perl related things
#
# Load startup.pl
PerlRequire /Apache/conf/startup.pl
#
# Scripts under http://localhost/mod_perl are to use Apache::Registry
#
Alias /mod_perl/ "/Apache/mod_perl/"
<Location /mod_perl>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
PerlSendHeader On
</Location>
<Location d:/sxforum>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
PerlSendHeader On
</Location>
[Thu Jun 20 12:16:05 2002] [error] Can't locate object method "boot" via package
"mod_perl" at D:/Perl/site/lib/Apache/Constants.pm line 8.
Compilation failed in require at D:/Perl/site/lib/Apache.pm line 6.
BEGIN failed--compilation aborted at D:/Perl/site/lib/Apache.pm line 6.
Compilation failed in require at D:/Perl/site/lib/Apache/Registry.pm line 2.
BEGIN failed--compilation aborted at D:/Perl/site/lib/Apache/Registry.pm line 2.
Compilation failed in require at /Apache/conf/startup.pl line 9.
BEGIN failed--compilation aborted at /Apache/conf/startup.pl line 9.
Compilation failed in require at (eval 1) line 1.
[Thu Jun 20 12:16:05 2002] [error] Can't load Perl file: /Apache/conf/startup.pl
for server 86.0.191.9:88, exiting...
startup.pl :
use Apache2 ();
use ModPerl::Util ();
use Apache::RequestRec ();
use Apache::RequestIO ();
use Apache::RequestUtil ();
use Apache::Server ();
use Apache::ServerUtil ();
use Apache::Connection ();
use Apache::Log ();
use Apache::Const -compile => ':common';
use APR::Const -compile => ':common';
use APR::Table ();
use Apache::compat ();
use ModPerl::Registry ();
use CGI ();
use lib 'd:/sxforum/admin';
require GForum::mod_perl;
1;
httpd.conf :
# The following are mod_perl related things
#
# Load startup.pl
PerlRequire /Apache/conf/startup.pl
#
# Scripts under http://localhost/mod_perl are to use Apache::Registry
#
Alias /mod_perl/ "/Apache/mod_perl/"
<Location /mod_perl>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
PerlSendHeader On
</Location>
<Location d:/sxforum>
SetHandler perl-script
PerlHandler Apache::Registry
Options +ExecCGI
PerlSendHeader On
</Location>