httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Beard <j...@cyberxape.com>
Subject Re: Problem running mod_perl
Date Sat, 03 Aug 2002 02:41:58 GMT
You have to rebuild Apache with the new version of Perl. It's loading 
(or attempting) to a 5.6.0 interpreter apparently.

If you have rebuilt Apache and mod_perl with the new interpreter, you 
may need to reinstall some modules like DBI since they are not pure Perl 
and may have some other dependancies.

Anyway, try the mod_perl list for a more on-topic discussion and better 
answers than I can give.

--Jeff

Soheil Shaghaghi wrote:
> Hello everyone,
> I was running Perl 5.6.0, Apache 1.3.4, and mod_perl 1.27 on a FreeBSD
> server.
> I upgraded to Perl 5.6.1, and since then if I add mod_perl to a site, the
> httpd server will not start.
> I installed Perl 5.6.1 into the same directory as Perl 5.6.0
> 
> Here is the section I add to the httpd.conf:
> 
>        PerlModule Apache::Registry
>          <Location "/cgi-bin/register">
>                  AddHandler perl-script .cgi .pl
>                  PerlHandler Apache::Registry::handler
>                  PerlModule Apache::DBI
>                  Options +ExecCGI
>                  PerlSendHeader On
>          </Location>
> 
> When I test apache, I get this error:
> 
> ./apachectl configtest
> Syntax error on line 1483 of /web/apache/conf/httpd.conf:
> Can't locate object method "bootstrap" via package "DBI" at
> /usr/lib/perl5/site_perl/5.6.0/i386-freebsd/DBI.pm line 236.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.6.0/i386-freebsd/DBI.pm line 243.
> Compilation failed in require at
> /usr/lib/perl5/site_perl/5.6.0/Apache/DBI.pm line 4.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/5.6.0/Apache/DBI.pm line 4.
> Compilation failed in require at (eval 7) line 3.
> 
> Thanks so much for your help,
> Soheil
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org


-- 
--
Jeff Beard | Systems Architect, Programmer, Sysadmin
Contact    | jeff at cyberxape dot com, 303.443.9339
Location   | In front of the computer, Boulder, CO, USA


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message