Re: TNS could not resolve service name with php_oci8.dll on Win NT
| From: | Koos van den Hout | Date: | Wed, 06 Sep 2000 09:07:04 +0000 |
| Subject: | Re: TNS could not resolve service name with php_oci8.dll on Win NT | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-2647@lists.php.net to get a copy of this message | ||
Quoting Olivier Delaye who wrote on Wed, Sep 06, 2000 at 09:42:17AM +0200:
> The file "tnsnames.ora" is correct since the same access
> is successful with SQL-Plus...
>
> My "tnsnames.ora" file is located in \orant\net80\admin
> maybe oci8 is looking for it in another place?
Usually oracle looks in $ORA_HOME/network/admin/tnsnames.ora (or
$ORA_HOME/net80/admin/tnsnames.ora for oracle 8). Maybe $ORA_HOME needs to
be set for the webserver ?
Koos van den Hout
--
Koos van den Hout, PGP keyid RSA/1024 0xCA845CB5 via keyservers
koos@kzdoos.xs4all.nl or DSS/1024 0xF0D7C263 -?)
Fax +31-30-2817051 Visit my site about books with reviews /\\
http://idefix.net/~koos/ http://www.virtualbookcase.com/ _\_V