Re: what sets the ORACLE_HOME variable and sets PHP/Apache environment

From: Date: Wed, 19 Nov 2008 03:46:52 +0000
Subject: Re: what sets the ORACLE_HOME variable and sets PHP/Apache environment
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-45658@lists.php.net to get a copy of this message
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 <dmagick@gmail.com> wrote: > From: Chris <dmagick@gmail.com> > Subject: Re: [PHP-DB] what sets the ORACLE_HOME variable and sets PHP/Apache environment > To: fredsilsbee@yahoo.com > Cc: php-db@lists.php.net > 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/

« previous php.db (#45658) next »