[rt-users] httpd.conf with rt as non document root?

Charlie Watts cewatts at frontier.net
Fri Jul 20 15:54:48 EDT 2001


On Fri, 20 Jul 2001, Joe S. wrote:

> Thanks.  The 'PerlModule Apache::DBI' line works for you?  I have mysql,
> and I get this error, even though I have DBI installed:
>
> 3:43PM ~/rt-2-0-0/tools # rcapache start
> Starting httpd [ SuSEHelp PHP4 mod_perl ]
>
> Syntax error on line 1019 of /etc/httpd/httpd.conf:
> Can't locate Apache/DBI.pm in @INC (@INC contains: /opt/rt2/etc
> /opt/rt2/lib /usr/lib/perl5/5.6.0/i586-linux /usr/lib/perl5/5.6.0
> /usr/lib/perl5/site_perl/5.6.0/i586-linux /usr/lib/perl5/site_perl/5.6.0
> /usr/lib/perl5/site_perl . /usr/local/httpd/ /usr/local/httpd/lib/perl) at
> (eval 47) line 3.
>
> 3:44PM /usr/lib/perl5 # find -name DBI.pm
> ./site_perl/5.6.0/i586-linux/Bundle/DBI.pm
> ./site_perl/5.6.0/i586-linux/DBI.pm
> ./site_perl/5.6.0/Apache/Session/Store/DBI.pm

You need to install Apache::DBI ... rt-2-0-1 doesn't check for it in
testdeps. I think Jesse said he was going to add it in the future, though.

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

Does that fix it for you?






More information about the rt-users mailing list