You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Mirek Szymczak <mi...@pressetext.at> on 2000/03/09 16:24:00 UTC

mod_perl + apache config error

Hello everbody!


I'm trying to setup an apache 1.3.9 with a persistent database(mysql)
connection in my httpd.conf i got:

line 259: PerlModule Apache::DBI
PerlRequire /usr/local/apache1.3.9/conf/start-up.pl

when i try to start apache it says:

Syntax error on line 259 of /usr/local/apache1.3.9/conf/xhttpd.conf:

DBI object version 0.93 does not match $DBI::VERSION 1.13 at
/usr/lib/perl5/i686-linux/5.00404/DynaLoader.pm line 185.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/DBI.pm
line 160.
BEGIN failed--compilation aborted at
/usr/lib/perl5/site_perl/Apache/DBI.pm line 4.

I'm using DBI version 1.13 and apache dbi version 0.87 ,

perl -v says

This is perl, version 5.005_03 built for i686-linux

can anyone tell why this does not work ?


thanx in advance

-- 
Mirek Szymczak
pressetext.austria Nachrichtenagentur GmbH
http://www.pressetext.at/
tel. ++43 1 4061522-0

Re: mod_perl + apache config error

Posted by Matt Sergeant <ma...@sergeant.org>.
On Thu, 09 Mar 2000, Mirek Szymczak wrote:
> Hello everbody!
> 
> 
> I'm trying to setup an apache 1.3.9 with a persistent database(mysql)
> connection in my httpd.conf i got:
> 
> line 259: PerlModule Apache::DBI
> PerlRequire /usr/local/apache1.3.9/conf/start-up.pl
> 
> when i try to start apache it says:
> 
> Syntax error on line 259 of /usr/local/apache1.3.9/conf/xhttpd.conf:
> 
> DBI object version 0.93 does not match $DBI::VERSION 1.13 at
> /usr/lib/perl5/i686-linux/5.00404/DynaLoader.pm line 185.
> BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/DBI.pm
> line 160.
> BEGIN failed--compilation aborted at
> /usr/lib/perl5/site_perl/Apache/DBI.pm line 4.

This means that your .so's for DBI don't match DBI.pm. i.e. your
installation is broken.

-- 
<Matt/>

Details: FastNet Software Ltd - XML, Perl, Databases.
Tagline: High Performance Web Solutions
Web Sites: http://come.to/fastnet http://sergeant.org
Available for Consultancy, Contracts and Training.