Perrin Harkins wrote:
> 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?

Works for me with 1.99, but see below.

> 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.

Folks, when you see a question like this, don't waste your time guessing 
in the dark without having the so needed details posted first. Just 
point them here:
http://perl.apache.org/release/docs/2.0/user/help/help.html#Reporting_Problems

You don't have to search for this item, it's in the shortcuts menu on 
the left.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Reply via email to