Re: Fedora 9-->10 ..now "oracle connect error"

From: Date: Fri, 14 Aug 2009 00:05:36 +0000
Subject: Re: Fedora 9-->10 ..now "oracle connect error"
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-46446@lists.php.net to get a copy of this message
Fred Silsbee wrote:
in /etc/httpd/conf/httpd.conf SetEnv ORACLE_HOSTNAME localhost.localdomain SetEnv TNS_ADMIN /u01/app/oracle/product/11.1.0/db_1/network/admin 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 SetEnv LD_LIBRARY_PATH /u01/app/oracle/product/11.1.0/db_1/lib
From experience, using Apache's SetEnv directive is sometimes insufficient to set the environment. See "Where do I set Oracle environment variables?" in http://wiki.oracle.com/page/PHP+Oracle+FAQ Also see page 105 onwards in http://www.oracle.com/technology/tech/php/underground-php-oracle-manual.html On RHEL and Oracle EL I put the environment variables in /etc/sysconfig/httpd (as shown on page 108). Chris -- Blog: http://blogs.oracle.com/opal Twitter: http://twitter.com/ghrd

« previous php.db (#46446) next »