Perhaps it's not clear whether v. 1.99 is actually a 2.x
Sorry, I find the numbering confusing, but have everything working fine with
1.26

----- Original Message -----
From: "Udlei Nattis" <[EMAIL PROTECTED]>
To: "Stas Bekman" <[EMAIL PROTECTED]>
Cc: "Perrin Harkins" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, June 05, 2002 3:39 PM
Subject: Re: DBI Bug


> hi
>
> this problem is very very very persistent
>
> httpd.conf
>
> PerlModule DBI # THIS IS THE PROBLEM
>
> PerlModule Apache::Registry
> <Location /perl>
> SetHandler perl-script
> PerlHandler Apache::Registry
> Options ExecCGI
> allow from all
> PerlSendHeader On
> </Location>
>
> i try all
> rebuild modperl witch modperl 1.99dev02, dev03cvs, using perl 5.7.3,
5.8RC1 with Thread and without Thread
>
> t/REPORT don't print any problem
>
> BUT if i have PerlModule DBI in httpd.conf i receive:
> [root@nattis bin]# ./apachectl start
> ./apachectl: line 192: 27461 Segmentation fault      $HTTPD
> ./apachectl start: httpd could not be started
> [root@nattis bin]#
>
> when i remove PerlModule:
> [root@nattis bin]# ./apachectl start
> ./apachectl start: httpd started
> [root@nattis bin]#
>
> i using last version of DBI
>
> bye
>
> nattis
>
>
>
> Stas Bekman wrote:
>
> > 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_Proble
ms
> >
> >
> > 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