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@xxxxxxxxx> wrote: > From: Chris <dmagick@xxxxxxxxx> > Subject: Re: what sets the ORACLE_HOME variable and sets PHP/Apache environment > To: fredsilsbee@xxxxxxxxx > Cc: php-db@xxxxxxxxxxxxx > 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/ -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php