Subject: Re: php woes
To: Erik Stokhof <E.Stokhof@cwi.nl>
From: Sean <sean@gothic.net.au>
List: port-mac68k
Date: 07/16/2001 17:29:12
On Mon, 16 Jul 2001, Erik Stokhof wrote:

> Hi all, back to getting php to work on my LCIII running NetBSD 1.5.
> Last weekend I finally got around to trying the pkg install of apache, php
> and ap-php and guess what?
> They segfault on me!
> So I removed the whole /usr/local/apache, pkg_delete php and ap-php, then
> pkg_add apache php ap-php (of course with the correct version numbers) and
> I still get a segfault.
> httpd -l works, though, but apachectl configtest doesn't
> When I run gdb httpd, I find out than the fault lies in ap_get_localhost,
> which, I suppose, tries to get info for the local host. This might be a bit
> of a problem, since it should run as either localhost or 192.168.0.1 with
> no FQDN.
> Any ideas?

one version of Apache (1.3.19 I think) requires the 'ServerName' directive,
otherwise it will segfault when DNS lookup of it's own name fails.

>
> At 08:40 PM 7/4/01 +0100, you wrote:
>
> >On Wednesday, July 4, 2001, at 08:47  am, Erik Stokhof wrote:
> >
> >>I'll try and install the php-4.0.4.1nb1 pkg tonight and see what happens.
> >>Maybe it's the mix of pkg and source that does this.
> >
> >This all indeed seems strange. Good luck, will you let me know how you get on?
> >
> >All the best.
> >
> >Matthew
>
>