Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 Jan 2004 13:40:30 -0600
From:      "Kevin D. Kinsey, DaleCo, S.P." <kdk@daleco.biz>
To:        gaspo1@fastwebnet.it
Cc:        questions@freebsd.org
Subject:   Re: apache+php
Message-ID:  <3FFB0F2E.5010503@daleco.biz>
In-Reply-To: <3FE7916A00003D78@alfa.mail.fw>
References:  <3FE7916A00003D78@alfa.mail.fw>

next in thread | previous in thread | raw e-mail | index | archive | help
gaspo1@fastwebnet.it wrote:

>GASPOFWIPV6LAB# uname -a
>FreeBSD GASPOFWIPV6LAB 4.9-RELEASE FreeBSD 4.9-RELEASE #0: Thu Jan  1 08:04:10
>CET 2004     root@GASPOTB:/usr/src/sys/compile/GASPO  i386
>
>i have install from pkg_add the packages:
>apache-1.3.28
>mysql-client-4.0.15
>PHP
>---error--
>when i do :
>apachectl start
>usr/local/sbin/apachectl start: httpd could not be started
>----------
>so,i have test also to compile httpd on my fbsd from apache.org,
>and if i compile it without modules apache start,if i compile with all modules
>like php cgi,apache cannot be start,the only error is:(var log)
>[Tue Jan  6 20:25:56 2004] [alert] mod_unique_id: unable to gethostbyname("GASPOFWIPV6LAB")
>any suggest?
>  
>

Well, that is a DNS type issue.  Give your host a
name either in DNS or /etc/resolv.conf, and try
again.  Or, disable mod_unique_id.

I would hesitate in saying that this will fix your problem,
though; that's just an "alert".  Perhaps something else is
wrong as well.

I generally prefer to install apache/PHP/MySQL from
the ports tree, SQL first, PHP last.  Works pretty well;
haven't had many issues since I started doing it
that way.

HTH,

Kevin Kinsey



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3FFB0F2E.5010503>