Return-Path: Delivered-To: apmail-httpd-users-archive@www.apache.org Received: (qmail 52983 invoked from network); 29 Mar 2006 15:12:17 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Mar 2006 15:12:17 -0000 Received: (qmail 93258 invoked by uid 500); 29 Mar 2006 15:12:08 -0000 Delivered-To: apmail-httpd-users-archive@httpd.apache.org Received: (qmail 93247 invoked by uid 500); 29 Mar 2006 15:12:07 -0000 Mailing-List: contact users-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: users@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list users@httpd.apache.org Received: (qmail 93236 invoked by uid 99); 29 Mar 2006 15:12:07 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Mar 2006 07:12:07 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of strycat@gmail.com designates 66.249.82.201 as permitted sender) Received: from [66.249.82.201] (HELO xproxy.gmail.com) (66.249.82.201) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 29 Mar 2006 07:12:07 -0800 Received: by xproxy.gmail.com with SMTP id s16so155288wxc for ; Wed, 29 Mar 2006 07:11:46 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=FPLjFDdCsP/329UtvX8zYXxPcADVhJ33fV39yJ4nYgJQpZ1aLR6ppp2zDtJrbnmuBko/MXiJl7p1UjHFKe7E51D5N7BRZ1oFrCKB/R4WVCo8GQJcu0grXqVO2O5R/xzA535dp3ah+z+nRkcEFy39jUvDODay8ivB8SaT0QeLH7o= Received: by 10.70.96.13 with SMTP id t13mr1108707wxb; Wed, 29 Mar 2006 07:11:46 -0800 (PST) Received: by 10.70.76.11 with HTTP; Wed, 29 Mar 2006 07:11:46 -0800 (PST) Message-ID: <8fc3badf0603290711n2ec9c3fat36fa274e877d9ad7@mail.gmail.com> Date: Wed, 29 Mar 2006 10:11:46 -0500 From: "Tom Cat" To: users@httpd.apache.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <8fc3badf0603290647j461dc859x1513c69df82623db@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org Subject: Re: [users@httpd] Set Environmental Variable for PHP X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 3/29/06, Joshua Slive wrote: > On 3/29/06, Tom Cat wrote: > > I'm trying to set ORACLE_HOME so that PHP will connect to Oracle. > > > > I first tried to stick the following into /etc/bashrc > > > > ORACLE_HOME=3D/home/oracle/oracle/product/10.2.0/client_1 > > export ORACLE_HOME > > > > That works fine for everyone on the box who has a shell, but the > > apache user doesn't have a shell so this never gets run and apache > > never figures out ORACLE_HOME. > > Put the same lines in apachectl (or whatever script your system uses > to start apache at boot). > I thought about doing that, but decided not to. I don't handle the updates and patches for the box. Other times when I have modified the scripts in /etc/init.d, when a new patch comes out my changes get overwritten and I have to figure out why something broke. Is there any other way? If not I'll do this. Thanks > Joshua. > > --------------------------------------------------------------------- > The official User-To-User support forum of the Apache HTTP Server Project= . > See for more info. > To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org > " from the digest: users-digest-unsubscribe@httpd.apache.org > For additional commands, e-mail: users-help@httpd.apache.org > > --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See for more info. To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org " from the digest: users-digest-unsubscribe@httpd.apache.org For additional commands, e-mail: users-help@httpd.apache.org