perl5.6_mod_perl_probs

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Subject: Re: mod_perl not to work with 5.6?
From: merlyn@stonehenge.com (Randal L. Schwartz)
Date: 10 Jun 2000 07:11:06 -0700

Stas" == Stas Bekman <stas@stason.org> writes:

Stas> Hey, who of the Perl teachers at Cruise said that?
Stas> http://www.oreillynet.com/pub/a/network/2000/06/06/geekcruise.html
Stas> <QUOTE>
Stas> 8.Perl 5.6, which seems like generally a very good thing, currently
Stas> doesn't work
Stas> in a mod_perl (i.e., Apache) context. This is a big problem for some
Stas> people.
Stas> </QUOTE>

Stas> I guess a correction and an apology are due... :)

I don't think it was me, unless it was a misquote.  From what I
understand, Perl 5.6 *threads* don't play well with mod_perl.  Is that
accurate?  But then again, 5.6 threads are semi-fragile anyway. :)

And wasn't some part of 5.6 broken with respect to HTML::Mason?
(Which of course concerns me greatly. :)

===


Subject: mod_perl, Perl 5.6 .0 &DBI
From: Rolf-D.Stoll@t-online.de (Rolf Stoll)
Date: Mon, 12 Jun 2000 09:48:25 +0200

Hello,

I have Problems with mod-perl V. 1.24 working together with perl 5.6.0
and a script that use DBI.
I use Apache 1.3.12 with Linux.
As a CGI without mod_perl the script works fine (it is no Problem of my
database configuration).

With mod_perl I get a:   [notice] child pid 652 exit signal Segmentation
fault (11)
as soon as i try to make a $dbh = DBI->connect(...);
What kind of problem is this?
Does mod_perl not cooperate with Perl 5.6.0 or is this a Problem of the
DBI-Module?
Hope someone can help.
best regards

===

Subject: mod_perl not to work with 5.6?
From: "Reuven M. Lerner" <reuven@lerner.co.il>
Date: Mon, 12 Jun 2000 11:37:55 +0300 (IDT)

Stas Bekman writes:

  Stas> Hey, who of the Perl teachers at Cruise said that?

  Stas> <QUOTE> 
  Stas> 8.Perl 5.6, which seems like generally a very good thing,
  Stas> currently doesn't work in a mod_perl (i.e., Apache)
  Stas> context. This is a big problem for some people.
  Stas> </QUOTE>

  Stas> I guess a correction and an apology are due... :)

Given that Tim Bray (who co-invented XML and is an *amazing* speaker,
among other things) wrote the report from the Perl Whirl, and that his
report seems to reflect his interests and opinions, I'd guess that he
said it.

But I'll fess up: At my final Perl Whirl session, I talked about
mod_perl (and HTML::Mason) -- and I specifically told people that
there were all sorts of reports of instability between mod_perl and
Perl 5.6.0.

Indeed, if you look through the mod_perl list archives, you'll find
that there have been lots of postings in the last month or two
discussing problems between mod_perl and 5.6.  I'm not sure whether
the problem lies with one or the other, or with simple problems in the
interaction between the two programs.  But the problems do seem to
exist.

I haven't yet installed 5.6.0, even though some of the features are
incredibly cool, simply because I'm kinda chicken.  I've heard about
too many problems, particularly with mod_perl, Mason, and random other
things, to feel comfortable using it right now.  But hey, I would love
to be proven wrong on this subject.

===

Subject: Re: mod_perl, Perl 5.6 .0 & DBI
From: Rolf-D.Stoll@t-online.de (Rolf Stoll)
Date: Tue, 13 Jun 2000 10:51:42 +0200

On Mon, Jun 12, 2000 at 09:48:25AM +0200, Rolf Stoll wrote:
> > With mod_perl I get a:   [notice] child pid 652 exit signal
Segmentation fault (11)
> > as soon as i try to make a $dbh = DBI->connect(...);

> For me, I solved the problem by configuring PHP4
> with --with-mysql=/usr/local, which forced it to use the
> libmysqlclient
> in /usr/local/lib/mysql, and things were much happier.
> -- Jake Buchholz

Thank You for solving the Problem. With Your advices mod_perl works for
me fine with DBI on my MySQL-database. That PHP 4.0 is the reason for my
problems I had never thought. Great.

===







the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu