Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Aug 1998 13:16:05 -0700 (PDT)
From:      Marc Slemko <marcs@znep.com>
To:        Matthew Hagerty <matthew@wolfepub.com>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Environment of a process
Message-ID:  <Pine.GSO.4.02A.9808311315180.19658-100000@redfish>
In-Reply-To: <3.0.3.32.19980831150336.007233bc@wolfepub.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 31 Aug 1998, Matthew Hagerty wrote:

> Greetings,
> 
> Where does a process get its environment if it is not executed from the
> command line?  I have a program that connects to a database and relies on
> several ENV VARS to be set.

Wherever it is executed from.

If it is a web server, then consult your web server vendor to find out how
that happens.  With Apache, for example, there are directives in mod_env
that you can use to explicitly set various environment variables.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.02A.9808311315180.19658-100000>