RE: [PHP] Oracle Connection

From: Date: Mon, 27 Nov 2000 14:06:27 +0000
Subject: RE: [PHP] Oracle Connection
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-27366@lists.php.net to get a copy of this message
Carlos, The Oracle error you report is ususally caused by the Oracle environment variables not being set before you start Oracle. ( ORACLE_HOME, ORACLE_BASE, ORACLE_SID, LD_LIBRARY_PATH) you also may want to pass them in to your php via putenv("ORACLE_HOME=/path/to/ora/home"); Hope this helps. Best regards, Andrew ---------------------------------------------------- Andrew Hill Director Technology Evangelism OpenLink Software http://www.openlinksw.com XML & E-Business Infrastructure Technology Provider > -----Original Message----- > From: Carlos Henrique [mailto:ch@ifx.com.br] > Sent: Monday, November 27, 2000 8:23 AM > To: PHP LIST > Subject: [PHP] Oracle Connection > > > Friends, > > I installed an oracle client/libs in my apache/php server in order to > connect to a remote oracle server. Recompiled my PHP installation (not the > apache, it's DSO) sucessfully and when I try to connect using ora_logon it > returns "Warning: Oracle: Connection Failed: Error while trying > to retrieve > text for error ORA-12154 in ... ". TNS names setup are ok. > > Any tips or hints in configuring oracle/php?? Thanks! > > Regards, > Carlos > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > > >

« previous php.general (#27366) next »