[PHP-GTK-ORACLE] - Erreur TNS
[email protected] ("Christophe Chassagneux")
| Newsgroups | php.gtk |
|---|---|
| Message-ID | <[email protected]> |
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 ?