problem to open an oracle database
| From: | Rodrigo Reis da Rocha | Date: | Thu, 26 Sep 2002 14:02:33 +0000 |
| Subject: | problem to open an oracle database | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-16016@lists.php.net to get a copy of this message | ||
Hi,
I´m having problem to acess an oracle database:
I´m using the general oracle functions (php_oracle.dll)
Warning: Oracle: Connection Failed: ORA-12560: TNS:error or protocol adapter
in d:\www\htdocs\ora_test.php on line 20
I have configured the ORACLE_HOME variable as well ORACLE_SID variable.
I can acess by TOAD or sql navigator but php dos not connect.
Can someone give me a sample script?
Tkx for help!
R3.
Rodrigo Reis da Rocha.
BRAZIL
Rio de Janeiro