You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by DT...@auroracasket.com on 2005/05/12 15:08:34 UTC

apache and mod_perl




Hi all,

I'm trying to migrate a website from apache 1.x and mod_perl 1.x to apache 2.x
and mod_perl 2.x     I get the following error when trying to start httpd.

Starting httpd: [Thu May 12 08:48:01 2005] [error] failed to resolve handler
`Apache::PerlSection'
Syntax error on line 14 of /etc/httpd/lib/perl/server.conf:
Bareword "Apache::OK" not allowed while "strict subs" in use at
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apache/PerlSection.pm
line 47.!BEGIN not safe after errors--compilation aborted at
/usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apache/PerlSection.pm
line 58.!Compilation failed in require at (eval 163) line 3.!

Is there documentation that describes issues in migrating to a newer version?


David Titkemeyer
Client Systems Developer
Aurora Casket Company
800.457.1195 ext. 5638




Re: apache and mod_perl

Posted by Ian Joyce <ia...@gmail.com>.
http://perl.apache.org/docs/2.0/user/porting/compat.html

On 5/12/05, DTitkemeyer@auroracasket.com <DT...@auroracasket.com> wrote:
> 
> 
> Hi all,
> 
> I'm trying to migrate a website from apache 1.x and mod_perl 1.x to apache 2.x
> and mod_perl 2.x     I get the following error when trying to start httpd.
> 
> Starting httpd: [Thu May 12 08:48:01 2005] [error] failed to resolve handler
> `Apache::PerlSection'
> Syntax error on line 14 of /etc/httpd/lib/perl/server.conf:
> Bareword "Apache::OK" not allowed while "strict subs" in use at
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apache/PerlSection.pm
> line 47.!BEGIN not safe after errors--compilation aborted at
> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/Apache/PerlSection.pm
> line 58.!Compilation failed in require at (eval 163) line 3.!
> 
> Is there documentation that describes issues in migrating to a newer version?
> 
> David Titkemeyer
> Client Systems Developer
> Aurora Casket Company
> 800.457.1195 ext. 5638
> 
>