- Erreur TNS

From: Date: Tue, 31 Jul 2001 15:06:16 +0000
Subject: - Erreur TNS
Groups: php.gtk 
Request: Send a blank email to php-gtk+get-2426@lists.php.net to get a copy of this message
I have a simple script in php : putenv("ORACLE_HOME=D:\\ORANT"); putenv("TNS_ADMIN=D:\\ORANT\\NETWORK\\ADMIN"); putenv("ORACLE_SID=xxxxxxxxx"); echo "Oracle : ". getenv("ORACLE_HOME")." \n"; echo "TNS_ADMIN : ". getenv("TNS_ADMIN")." \n"; echo "ORACLE_SID : ". getenv("ORACLE_SID")." \n"; $connect_oracle = ora_logon("xxxxx@xxxxxxx" , "SERETI" ); But then i do : e:\> php testoracle.php the prog reply : ORA-12154 : TNS name not resolved with apache server, I don't have this problem. Can u help me ?

« previous php.gtk (#2426) next »