Re: Oracle connection

From: Date: Mon, 12 Mar 2001 23:32:11 +0000
Subject: Re: Oracle connection
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-7362@lists.php.net to get a copy of this message
Or, you can use ODBC :) A PHP/ODBC HOWTO is available at http://www.iodbc.org and driver are available at www.openlinksw.com Please let me know if you require assistance. Best regards, Andrew --------------------------------------- Andrew Hill - OpenLink Software Director Technology Evangelism eBusiness Infrastructure Technology http://www.openlinksw.com On 3/12/01 6:22 PM, "Joe Brown" <joebrown@somewhere.com> wrote: > You need to acquire the oracle network drivers for linux, from Oracle. I'm > only aware of the ones that come with Oracle for linux, though they may have > them bundled seperately. > > Fight your way through the inconcievably difficult installation process. > > After defining some environment variables (they can be set after the fact > too) which point the the oracle/home;net drivers, compile php --with-oci8 or > similar argument. > > Start apache server the proper set of environment variables, be sure to set > your nls_lang, etc... > > Now you should be able to access 'em. > > There is a fair amount of work involved, but it seems to be working nicely > for me. A little tenacity will prevail. :-) > > Oh, you can put_env(SID=ORCL) etc... in your php code, instead of setting > up environment variables, prior to compile/apache start. If you have > mutiple instances, this may be the preferred method. With a single > instance, I find it simpler to start apache w/a script that sets the > variables prior to startup. > > Oh yeah, lots of reading is involved too.... ;-) > > ""Marco Eyzaguirre"" <meyzagui@ilender.com.pe> wrote in message > news:002601c0ab42$fac54f40$ce0410ac@ilender.com.pe... >> >>> I got a question: >>> >>> How can I access an Oracle database located on an Oracle 8i installed in >>> Windows NT from PHP installed on a Linux box? >>> >>> thanx in advance for you answers >>> >>> Greetings >>> >>> Marco Eyzaguirre >>> DB Administrator >>> Ilender Peru S.A. >>> www.ilender.com.pe >>> >> >> >> -- >> 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 (#7362) next »