From owner-freebsd-questions@FreeBSD.ORG Tue Mar 1 11:29:45 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8622D16A4CE for ; Tue, 1 Mar 2005 11:29:45 +0000 (GMT) Received: from trumpet.nightmaestro.com (186.10.233.220.exetel.com.au [220.233.10.186]) by mx1.FreeBSD.org (Postfix) with SMTP id 1351343D31 for ; Tue, 1 Mar 2005 11:29:44 +0000 (GMT) (envelope-from freebsd-ml@nightmaestro.com) Received: from violin (greyeye-xp [10.1.1.4])j21BTPlx013872; Tue, 1 Mar 2005 22:29:26 +1100 Message-Id: <200503011129.j21BTPlx013872@trumpet.nightmaestro.com> From: "James Hong" To: "'Loren M. Lang'" , "'Roberto Nunnari'" Date: Tue, 1 Mar 2005 22:29:25 +1100 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 Thread-Index: AcUMPlHPrE1SdeCSQSeRqoGyPd1+mQSEv8PA X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 In-Reply-To: <20050206112315.GS8619@alzatex.com> X-nightmaestro.com-MailScanner: Found to be clean X-nightmaestro.com-MailScanner-SpamCheck: not spam, SpamAssassin (score=-104.895, required 10, autolearn=not spam, AWL 0.01, BAYES_00 -4.90, USER_IN_WHITELIST -100.00) X-MailScanner-From: freebsd-ml@nightmaestro.com cc: freebsd-questions@freebsd.org Subject: RE: access oracle from php (mod_php4) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Mar 2005 11:29:45 -0000 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"