Subject: Re: Oracle OCI8, php, apache under NetBSD
To: John Hayward <John.C.Hayward@wheaton.edu>
From: Todd Vierling <email@example.com>
Date: 06/07/2001 11:07:27
On Thu, 7 Jun 2001, John Hayward wrote:
: php has some OCI8 functions which allow access to an oracle database
: (which can be remote). It requires php to be built with oracle client
Which will not happen on *BSD's, since OCI8 is a native code interface, and
the closest possible match is the Linux distribution of Oracle. There
exists no *BSD distribution of Oracle for which you can get the necessary
OCI libraries. If you want to run PHP against OCI8, you'll need to compile
PHP *for* Linux (to run under emulation) with the Linux Oracle libraries.
If you don't want also to compile Apache for Linux (which you'd have to do
for PHP+Oracle as an Apache module), you can instead make use of the
external "php" program that PHP builds, as a CGI handler for .php files.
This will run the "php" program, instead of invoking mod_php, which may only
be a minor overhead increase depending on your situation.
-- Todd Vierling <firstname.lastname@example.org> * Wasabi NetBSD: Run with it.
-- NetBSD 1.5 now available on CD-ROM -- http://www.wasabisystems.com/