Subject: Re: apache 1.3 crashing when I enable PERL?
To: Gilles Gravier <Gilles@Gravier.org>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 04/21/2007 14:18:24
On Sat, Apr 21, 2007 at 02:01:25PM +0200, Gilles Gravier wrote:
> Hi!
>
> OK... So I have a nicely running Apache 1.3 server. Has SSL, PHP, MySQL...
>
> Now I want to add PERL.
>
> PERL 5 is already built on my system... so I go to ap-perl and make
> install...
>
> Then I add the magic to httpd.conf :
>
> LoadModule perl_module lib/httpd/mod_perl.so
> <Files ~ "\.pl$">
> PerlHandler Apache::Registry
> PerlSendHeader On
> SetHandler perl-script
> Options +ExecCGI
> </Files>
>
> Now, when I start apache, I get a core dump :
>
> 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#
>
> Any idea of what I'm missing?
Any infos in apache logs ?
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--