Udlei Nattis wrote: > hi, sorry my english ;) > > when i add this line in httpd.conf > > PerlModule DBI > > or > > use DBI(); in startup.conf > > apache dont start, i receive this error: > > /usr/local/apache-2.0/bin/apachectl: line 192: 12547 Segmentation > fault $HTTPD > /usr/local/apache-2.0/bin/apachectl start: httpd could not be started > > i test it in > Apache 2.0/Perl 5.8.0RC1/Modperl 1.99.02/03 > Apache 2.0/Perl 5.7.3/Modperl 1.99.02/03 > Apache 2.0/Perl 5.6.1/Modperl 1.99.02/03 > Apache 2.0-cvs/All Perls/All Modperls
It definitely works with the Apache 1.x/mod_perl 1.x/perl 5.6.1 combo. Maybe someone else can verify that they've run DBI under mod_perl 2? You might need to use the pre-fork MPM when using DBI, depending on how well your database driver works with threads. You should also make sure you compile all of these with the same compiler, to ensure compatibility between libraries. - Perrin