Oracle-PHP (contd.)

From: Date: Sat, 23 Jun 2001 07:21:29 +0000
Subject: Oracle-PHP (contd.)
Groups: php.db 
Request: Send a blank email to php-db+get-9761@lists.php.net to get a copy of this message
With reference to my previous problem in connecting to the oracle database, I found out some additional information. I defined the TNS_ADMIN variable in the startup file and added this line to my php-script: putenv("TNS_ADMIN=/ora1/app/oracle/product/8.1.6/network/admin"); and when I tried to echo this variable echo("$TNS_ADMIN"); The value is not being printed, it is not defined.When I tried the same thing at the command prompt the value was defined.What is the reason that the value of TNS_ADMIN is not being available to the php-script.

« previous php.db (#9761) next »