Hello everyone,
I've been struggling with this problem since yesterday, and if anyone
has any pointers, they would be appreciated.
I get the following error when I try to load the Apache::DBI perl module:
Syntax error on line 934 of /var/www/conf/httpd.conf:
Invalid command 'PerlModule', perhaps mis-spelled or defined by a module
not included in the server configuration
/usr/sbin/apachectl start: httpd could not be started
Line 934 is:
PerlModule Apache::DBI
This sounds like mod_perl is not being loaded, and thus 'PerlModule' is
not understood. I have mod_perl installed:
$ pkg_info | grep mod_perl
mod_perl-1.29p0 module that embeds a Perl interpreter into Apache
Is there some additional configuration required? I've looked through
mod_perl's documentation, but I haven't found anything relevant. Please
feel free to hit me with the clue stick if I've missed something obvious.
Thanks,
Dan