RE: [PHP-DB] NEED HELP WITH ORACLE & PHP PLZ.

From: Date: Thu, 13 Sep 2001 18:13:28 +0000
Subject: RE: [PHP-DB] NEED HELP WITH ORACLE & PHP PLZ.
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-12417@lists.php.net to get a copy of this message
Not sure, but possibly it's an ORACLE_HOME not being set issue. Best regards, Andrew > -----Original Message----- > From: Brian Ofsthus [mailto:ofsthus_brian@emc.com] > Sent: Thursday, September 13, 2001 2:17 PM > To: php-db@lists.php.net > 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: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.db (#12417) next »