Not sure, but possibly it's an ORACLE_HOME not being set issue.

Best regards,
Andrew


> -----Original Message-----
> From: Brian Ofsthus [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 13, 2001 2:17 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-DB] NEED HELP WITH ORACLE & PHP PLZ. 
> 
> 
> I have The following
> 
> A Sun Ultra2 Running the Oracle Client talking to a Oracle 
> Instance 8.1.7 on
> another server.
> 
> sqlplus  scott@rhinodb  works greate. I do have to be in $ORACLE_HOME for
> some reason.
> 
> When I issue the following command I get an error
> 
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
> 
> <html>
> <head>
>  <title>Untitled</title>
> </head>
> 
> <body>
> <?php
> $link = ora_logon("scott@RHINODB", "tiger")
>         or die ("Could not connect");
>     print ("YAAAAAA  Connected successfully");
> ?>
> 
> 
> </body>
> </html>
> 
> 
> Error in the Browser....
> 
> Warning: Oracle: Connection Failed: Error while trying to 
> retrieve text for
> error ORA-12154 in 
> /export/dsk2/apache/htdocs/rhinodb/cgi-bin/dbtest.php on
> line 8
> YAAAAAA Connected successfully
> 
> 
> 
> 
> -- 
> 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]
> 
> 

-- 
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