Re: [PHP-DB] what sets the ORACLE_HOME variable and sets PHP/Apache environment

[email protected] (Fred Silsbee)
Newsgroups php.db
Message-ID <[email protected]>
didn't work...sorry
errors:
OCI8 DEBUG: OCINlsEnvironmentVariableGet at (/tmp/oci8/oci8.c:1819) 
OCI8 DEBUG L1: Got NO cached connection at (/tmp/oci8/oci8.c:1864) 
OCI8 DEBUG: OCIEnvNlsCreate at (/tmp/oci8/oci8.c:2768) 
OCI8 DEBUG L1: create_spool: (0) at (/tmp/oci8/oci8.c:2686) 
Oracle Connect Error 

added:


SetEnv ORACLE_HOSTNAME localhost.localdomain
SetEnv ORACLE_BASE /u01/app/oracle
SetEnv ORACLE_HOME /u01/app/oracle/product/11.1.0/db_1
SetEnv ORACLE_SID lmkiiiGDNSID
SetEnv ORACLE_TERM xterm


to /etc/httpd/conf/httpd.conf




--- On Wed, 11/19/08, Chris <[email protected]> wrote:

> From: Chris <[email protected]>
> Subject: Re: [PHP-DB] what sets the ORACLE_HOME variable and sets PHP/Apache environment
> To: [email protected]
> Cc: [email protected]
> Date: Wednesday, November 19, 2008, 2:41 AM
> Fred Silsbee wrote:
> > there is a file /etc/httpd/conf/httpd.conf
> > 
> > I tried putting the ORACLE_HOME in this file but it
> failed
> 
> How did you put it in?
> 
> Try this method
> 
> http://httpd.apache.org/docs/2.0/mod/mod_env.html#setenv
> 
> -- Postgresql & php tutorials
> http://www.designmagick.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.