List Info

Thread: apache 1.3 crashing when I enable PERL?




apache 1.3 crashing when I enable PERL?
country flaguser name
France
2007-04-21 07:01:25
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) $ -DSSL
/usr/pkg/sbin/apachectl startssl: httpd could not be
started
bash-3.2#

Any idea of what I'm missing?

Thanks in advance,
Gilles.

Re: apache 1.3 crashing when I enable PERL?
user name
2007-04-21 07: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) $ -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 <bouyerantioche.eu.org>
     NetBSD: 26 ans d'experience feront toujours la
difference
--

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )