Marius Onica wrote:

> > Hmm, not much info. It happens in php4, but I can't say where. What
> > options did you use to compile PHP? What options to compile midgard-php?
> > And could you do an strace on /usr/sbin/httpd -X and post the last 30
> > lines or so?
>
> I found the source of the problem. It's something related to midgard can or
> can't identify the host on which it (apache) is sitting. Namely if I do not
> have
> a declaration about this host in /etc/hosts (having only about 127.0.0.1
> (localhost)
> apache+midgard segfaults. If I put in /etc/hosts a declaration about this
> host, example
> 193.231.135.41     dacia1.uoradea.ro    dacia1
> then apache+midgard doesn't segfault !

AFAICT the result of gethostbyname (used in mgd_init) is handled
correctly... yet this is the only place I can imagine this is happening.
Maybe the strace would yield more information.

Emile



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to