Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: DBI Confusion

Quote Reply
Re: DBI Confusion In reply to
In Reply To:
I think my problem may stem from the fact that the DBI.pm is not being found in the @INC path. I had to copy it from ../i686-linux/DBI.pm to ..i686-linux/Apache/DBI.pm directory in order for httpd to start. I assume this is where my problem is. It's just a guess. Any suggestions?
Ah, that would do it. DBI and Apache::DBI are two different things. DBI is a module that provides a common perl interface to a database. Apache::DBI is a mod_perl module that provides persistent connections to the database (you don't need to connect/disconnect every request).

What I would do is remove the file you copied in Apache/DBI and do a:

perl -MCPAN -e 'install Apache::DBI'

and you should be set. I don't understand why this module doesn't come with mod_perl, but it should.

Cheers,

Alex

--
Gossamer Threads Inc.
Subject Author Views Date
Thread DBI Confusion DrewBlack 4531 Jul 15, 2001, 11:45 PM
Post Re: DBI Confusion
DrewBlack 4422 Jul 15, 2001, 11:58 PM
Thread Re: DBI Confusion
Alex 4418 Jul 16, 2001, 11:06 AM
Thread Re: DBI Confusion
DrewBlack 4391 Jul 17, 2001, 3:32 AM
Thread Re: DBI Confusion
Alex 4390 Jul 17, 2001, 8:40 AM
Post Re: DBI Confusion
DrewBlack 4389 Jul 17, 2001, 9:14 AM