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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




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

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux