Access to oracle db
| From: | Parisi Giuliano | Date: | Tue, 10 Jul 2001 15:10:28 +0000 |
| Subject: | Access to oracle db | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-57162@lists.php.net to get a copy of this message | ||
Hi,
I've installed Apache server and PHP interpreter on Microsoft Windows
platform. I'm trying to access to Oracle db without results (I've
installed Oracle client and configured tnsnames.ora file). PHP
interpreter return following error:
Oracle: Connection Failed: ORA-12154: TNS:could not resolve service name
in ...
I think that Oracle client used by PHP doesn't find tnsnames.ora file
(I've tryied to move tnsnames.ora file from installation folder to
another folder and error message doesn't change).
sqlplus utility, that used the same tnsnames.ora file, correctly access
to oracle db without problem .
The question is: how can I configure PHP to enable access to oracle db
via oracle client ?
Thanks in advantage for any suggestion.
Regards
Giuliano