A guy, Filippov Evgeny, mails directly to me with the following question.
I answer in this group, to share the problem and the solution.
Philippe S.
From: evgeny
----------------------------------------------------------------
Hi!
Excuse please, I have seen your answers and has decided(solved) that can be
you to me will help.
Server DB - serverORACLE 9.2.
Web-server - Win XP, IIS 5.1,
PHP 4.3.2, client ORACLE 9.2.
environment variables
oracle_sid=test1
oracle_home=c:\oracle\ora92
nls_lang=american_america.cl8mswin1251
tns_admin=c:\oracle\ora92\network\admin
load php_oci8.dll
oci8
OCI8 Support enableds
Revision $Revision: 1.183.2.5$s
db = " (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)
(HOST =192.168.1.9) (PORT=1521)) (CONNECT_DATA = (SERVICE_NAME=test1))) ";
con=OCILogon ("test", "test", $db);
Gives out a mistake
Warning: ocilogon
(): _oci_open_server: Error while trying to retrieve
text for error ORA-12538 in c:\inetpub\wwwroot\php\index.php on line 15
How to establish oci connection?
Filippov Evgeny
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php