can odbc be used from php on linux, or is it just a windows thing?


----- Original Message -----
From: "Andrew Hill" <[EMAIL PROTECTED]>
To: "Joe Brown" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, March 12, 2001 5:32 PM
Subject: Re: [PHP-DB] Oracle connection


> 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" <[EMAIL PROTECTED]> 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"" <[EMAIL PROTECTED]> wrote in message
> > 002601c0ab42$fac54f40$[EMAIL PROTECTED]">news:002601c0ab42$fac54f40$[EMAIL PROTECTED]...
> >>
> >>> 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: [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]
>
>
>
>


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