looks like best option is to install oracle7-client from port and use it
with PHP from port too.
However, as oracle client is based on 7, newer functions does not seems to
be avilable.

OR

you can install linux emulator and install oracle client with linux
emulation.

james h
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Loren M. Lang
Sent: Sunday, February 06, 2005 10:23 PM
To: Roberto Nunnari
Cc: [email protected]
Subject: Re: access oracle from php (mod_php4)

On Thu, Feb 03, 2005 at 09:31:14PM +0100, Roberto Nunnari wrote:
> Hi.
> 
> I need to access a oracle 9i database installed on a remote machine 
> from a php script (www/mod_php4)
> 
> I already can access mysql databases.. but not oracle..

I'm using a client app to access an oracle 8i database myself.  I'm using
unixODBC on freebsd which the oracle 9i libraries from the oracle website
and the oracle driver from www.easysoft.com which allows unixodbc apps to
use the oracle driver.  I'm not using mod_php4, but I'm pretty sure it can
use unixodbc once that's setup.  There is allow a native oracle driver for
php, but I don't know anything about it.

My app -> unixODBC -> EasySoft Oracle driver -> Oracle libs -> Oracle server

> 
> web.dti.supsi.ch# uname -a
> FreeBSD web.dti.supsi.ch 5.3-RELEASE-p5 FreeBSD 5.3-RELEASE-p5 #0: Wed 
> Feb  2 16:33:24 CET 2005 
> [EMAIL PROTECTED]:/usr/obj/usr/src/sys/WEB  i386
> 
> Could any kind soul help me?
> 
> Thank you!
> -- 
>               Roberto Nunnari -software engineer-
>                mailto:[EMAIL PROTECTED]  Scuola Universitaria 
> Professionale della Svizzera Italiana
>              Dipartimento Tecnologie Innovative
>                   http://www.dti.supsi.ch  SUPSI-DTI
>  Via Cantonale                        tel: +41-91-6108561
>  6928 Manno                 """       fax: +41-91-6108570
>  Switzerland               (o o)
> =======================oOO==(_)==OOo========================
> _______________________________________________
> [email protected] mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"

--
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to