Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't locate Apache/DBI.pm in @INC



When I attempt to load Apache I get the following error message:

Syntax error on line 1078 of /etc/httpd/httpd.conf:
Can't locate Apache/DBI.pm in @INC (@INC contains: /sw/lib/perl5 /sw/lib/perl5 /System/Library/Perl/5.8.1/darwin-thread-multi-2level /System/Library/Perl/5.8.1 /Library/Perl/5.8.1/darwin-thread-multi-2level /Library/Perl/5.8.1 /Library/Perl /Network/Library/Perl/5.8.1/darwin-thread-multi-2level /Network/Library/Perl/5.8.1 /Network/Library/Perl . /usr/ /usr/lib/perl) at (eval 3) line 3.


/usr/sbin/apachectl start: httpd could not be started

This happened after I added the following code:

<VirtualHost 127.0.0.1>
ServerName rt3.localhost
DocumentRoot /opt/rt3/share/html
AddDefaultCharset UTF-8

PerlModule Apache::DBI
PerlRequire /opt/rt3/bin/webmux.pl
<Location />
SetHandler perl-script
PerlHandler RT::Mason
</Location>
</VirtualHost>


I have Apache::DBI installed, and I am using Perl 5.8.6, so I am wondering why I am getting this error message, and why I see Perl 5.8.1 in my @INC path.


Any clues?

Thanks

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macos-x-server mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/macos-x-server/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.