I'm trying to configure mod_perl for use with persistent database connections with Apache::DBI
RedHat 7.3 Apache 1.3.23 mod_perl 1.26
I've configured the following 'startup.pl' file:
------------------------------------------------- #!/usr/bin/perl
BEGIN { use Apache (); use lib '/etc/httpd/lib/perl'; }
use Apache::Registry (); use Apache::Constants(); use CGI qw(-compile :all); use CGI::Carp (); # PerlModule Apache::DBI; <<---------------------- trouble line #use LWP (); # 1;
-----------------------------------------------
As soon as I activate the line identified as 'trouble line', my apache server dies.
Any suggestions ?
Thanks,
Feite Brekeveld