Have you tried supplying the optional third parameter to ociplogon() to
specify the connection?

    ociplogon( "username","password","tns_alias");

--Houston

""bgadelha"" <[EMAIL PROTECTED]> wrote in message
Hi,
I'm having troubles using PHP+Oracle.
I´m under Win98, with Apache WebServer, PHP4 and Oracle.
When I try to connect, the following error message is
displayed:

Warning: Unable to connect to ORACLE (ORA-12154:
TNS:could not resolve service name) in
c:\apache\htdocs\testeoracle.php on line 24
falhou outra vez:ORA-12154: TNS:could not resolve
service ...



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to