Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Running Pro*C applications as CGI scripts...

Re: Running Pro*C applications as CGI scripts...

From: Eric DANTIE <edantie_at_rcanaria.es>
Date: 1998/12/28
Message-ID: <3687835B.7CB7CEAC@rcanaria.es>#1/1

Mick McRae wrote:
>
> You need to edit the httpd.conf Apache configuration file.
> Put the following entries in this file and then re-start your web server
>
> SetEnv ORACLE_HOME /opt/app/oracle......whatever it is
> SetEnv ORACLE_SID PROD (whatever your sid is)
> SetEnv LD_LIBRARY_PATH /opt/app/oracle/......./lib
>

Or within your program, you can add the code before any oracle operation

	putenv("ORACLE_HOME=/u01/app/oracle/product/8.0.3");
	putenv("ORACLE_SID=ora8");

man setenv for more information...

Eric DANTIE Received on Mon Dec 28 1998 - 00:00:00 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US