Hi, real newbie here,
I am trying to configure a website on Redhat7.3 with perl 5.6 and Apache.
Both were installed in default locations during server install of Redhat7.3
The website needs HTML-Embperl and DBI and I have installed both of these
from the rpm's.
httpd.conf contains:
SetEnv PERL5LIB /usr/local/apache/lib
PerlSetEnv EMBPERL_SESSION_CLASSES "DBIStore SysVSemaphoreLocker"
PerlSetEnv EMBPERL_SESSION_ARGS "DataSource=dbi:mysql:session"
PerlSetEnv EMBPERL_ESCMODE 0
PerlSetEnv EMBPERL_OPTIONS 10240
PerlModule Apache::DBI
PerlModule HTML::Embperl
PerlWarn On
<FilesMatch ".*\.epl$">
SetHandler perl-script
PerlHandler HTML::Embperl
Options ExecCGI
</FilesMatch>
But when I try to start httpd, I get the error:
"httpd failed to start: Can't locate Apache/DBI.pm in @INC (@INC contains
/usr/lib/........)"
If I comment out the DBI line in httpd.conf, I get a similar error for
Embperl:
"httpd failed to start: Can't locate HTML/Embperl.pm in @INC (@INC contains
/usr/lib/........)"
Do I need to edit the path in @INC (how do I do that? Where is it?)
Or do I need to install DBI and Embperl differently
Thanks for any help.
Anthony Dunne
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]