Re: NEED HELP WITH ORACLE & PHP PLZ.

From: Date: Mon, 17 Sep 2001 18:40:37 +0000
Subject: Re: NEED HELP WITH ORACLE & PHP PLZ.
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-12513@lists.php.net to get a copy of this message
Brian, How did you configure PHP (ie what was your ./configure string?). I am having trouble even getting PHP set up to where it even recognizes the Oracle functions. When I try to execute a script similar to what you have written all I get is 'function undefined.' Thanks, Jason On 9/13/01 12:16 PM, in article 20010913181234.83747.qmail@pb1.pair.com, "Brian Ofsthus" <ofsthus_brian@emc.com> wrote: > 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 > > >

« previous php.db (#12513) next »