Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Mar 2005 22:29:25 +1100
From:      "James Hong" <freebsd-ml@nightmaestro.com>
To:        "'Loren M. Lang'" <lorenl@alzatex.com>, "'Roberto Nunnari'" <roberto.nunnari@supsi.ch>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: access oracle from php (mod_php4)
Message-ID:  <200503011129.j21BTPlx013872@trumpet.nightmaestro.com>
In-Reply-To: <20050206112315.GS8619@alzatex.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: owner-freebsd-questions@freebsd.org
[mailto:owner-freebsd-questions@freebsd.org] On Behalf Of Loren M. Lang
Sent: Sunday, February 06, 2005 10:23 PM
To: Roberto Nunnari
Cc: freebsd-questions@freebsd.org
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 
> root@web.dti.supsi.ch:/usr/obj/usr/src/sys/WEB  i386
> 
> Could any kind soul help me?
> 
> Thank you!
> -- 
>               Roberto Nunnari -software engineer-
>                mailto:roberto.nunnari@supsi.ch  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========================
> _______________________________________________
> freebsd-questions@freebsd.org mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"freebsd-questions-unsubscribe@freebsd.org"

--
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
 
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200503011129.j21BTPlx013872>