Subject: Re: apache 1.3 crashing when I enable PERL?
To: Gilles Gravier <Gilles@Gravier.org>
From: Francisco Valladolid Hdez. <ficovh@yahoo.com>
List: netbsd-users
Date: 04/21/2007 08:11:48
--- Gilles Gravier <Gilles@Gravier.org> wrote:
> Will enabling threads in Apache mess up the rest of
> my system (PHP,
> MySQL...) that plugs into Apache?
>
No!, php and other tools, don't have problems with
this.
> Gilles.
>
> Francisco Valladolid Hdez. wrote:
> > --- Wouter Schoot <wouter@schoot.org> wrote:
> >
> >
> >> Gilles Gravier schreef:
> >>
> >>> PERL 5 is already built on my system... so I go
> to
> >>>
> >> ap-perl and make
> >>
> >>> install...
> >>>
> >>> LoadModule perl_module lib/httpd/mod_perl.so
> >>> <Files ~ "\.pl$">
> >>> PerlHandler Apache::Registry
> >>> PerlSendHeader On
> >>> SetHandler perl-script
> >>> Options +ExecCGI
> >>> </Files>
> >>>
> >>> bash-3.2# /etc/rc.d/apache start
> >>> [1] Abort trap (core dumped) ${HTTPD} -DSSL
> >>> /usr/pkg/sbin/apachectl startssl: httpd could
> not
> >>>
> >> be started
> >>
> >>> bash-3.2#
> >>>
> >> Hey,
> >>
> >> This is exactly what I encountered a few weeks
> back
> >> which costs me a night
> >> of trouble. I orgininally suspected it to be my
> >> flacky config (NetBSD 2
> >> userland, NetBSD 4_BETA2 kernel (for my raid
> chipset
> >> support)), and PHP
> >> with apache 1.3 is no problem, but when I added
> perl
> >> support, fun was all
> >> over. However, recompiling didn't fix it. Even
> >> worse, apache 2 didn't
> >> solve it either! But, good news, apache 2.2 (also
> in
> >> pkgsrc) solves this
> >> problem!
> >>
> >> I realise this is just a workaround and,
> considering
> >> I'm not the only one
> >> anymore, it would be good to send-pr this problem
> I
> >> suppose!
> >>
> >
> > The problem is that perl is compiled with thread
> > enabled and apache don't, try to enable threads in
> > apache.
> >
> > Regards.
> >
> >
> >> Wouter
> >>
> >> --
> >> Wouter Schoot (wouter@schoot.org)
> >> Website: http://www.schoot.org
> >> UIN# 42109851
> >>
> >>
> >>
> >>
> >
> >
> > ---
> > Therefore, if anyone is in Christ, he is a new
> creation; the old has gone, the new has come! - 2
> Corinthians 5:17 (NIV)
> > -----------------------------------
> > Francisco Valladolid Hdez.
> > http://blog.bsdguy.net -
> http://flickr.com/photos/sigueme/
> >
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam? Yahoo! Mail has the best spam
> protection around
> > http://mail.yahoo.com
> >
>
> --
> /*Gilles Gravier*/ *=* *Gilles@Gravier.org*
> <mailto:Gilles@Gravier.org>
> *=* *http://www.gravier.org/*
> ICQ : *77488526*
>
<http://www.icq.com/whitepages/about_me.php?Uin=77488526>
> * || *MSN
> Messenger : Gilles@Gravier.org
> <http://members.msn.com/Gilles@Gravier.org>*
> *Skype : ggravier <callto://ggravier>* || *Y! :
> ggravier
> <http://profiles.yahoo.com/ggravier> || AOL :
> gillesgravier
> <aim:goim?screenname=gillesgravier>
> PGP Key ID : *0x8DE6D026*
>
<http://pgp.mit.edu:11371/pks/lookup?search=0x8DE6D026&op=index>
> "Chastity is its own punishment." (/Solomon Short/)
> [/David Gerrold/]
> "De toutes les aberrations sexuelles, la chasteté
> est la plus
> aberrante." [Anatole France]
>
>
---
Therefore, if anyone is in Christ, he is a new creation; the old has gone, the new has come! - 2 Corinthians 5:17 (NIV)
-----------------------------------
Francisco Valladolid Hdez.
http://blog.bsdguy.net - http://flickr.com/photos/sigueme/
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com