RE: [PHP-DB] minimal Oracle support
| From: | Mark Nold | Date: | Sat, 15 Jul 2000 00:32:01 +0000 |
| Subject: | RE: [PHP-DB] minimal Oracle support | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-1157@lists.php.net to get a copy of this message | ||
I dont know the answer either but would love to know :)
If you look at http://oracle.mattshouse.com/ there is
some great looking oracle
tools for X11 that ive been meaning to play with for a long time.
Anyway i havent tested this yet but the owners asserts that you only need
libclntsh.so.1.0 (home page right hand side) for the client library, i would
also assume you would need to set up the sqlnet files of sqlnet.ora and
tnsnames.ora.
Try it out.
mn
Mark Nold
markn@alverstone.com.au
Systems Consultant
Change is inevitable, except from vending machines.
On Friday, 14 July 2000 8:53, Rasmus Lerdorf [SMTP:rasmus@php.net] wrote:
> > At home, i have two systems:
> > - a big one, with enough horsepower to run Oracle 8i R2 on Linux Red Hat
> > 6.2
> > (plus the full graphical environment)
> > - an old 486 with 16 MB RAM.
> >
> > The tiny 486 runs an Apache with PHP. I want to compile the PHP module
> > with
> > Oracle support (in order to use the Oracle server from the big system) but,
> > of course, i cannot install Oracle on the 486 ;-) and i do not want to
> > "./configure blah; make" the PHP module on the big system and then "make
> > install" it on the 486 (there are some small differences in the libraries
> > and
> > so on). I just want to compile the PHP module on the 486 without having a
> > full Oracle install on it (just some files copied from the big system). Is
> > this possible?
> > If it is, my questions are:
> > 1. What are the (minimal) necessary files to be copied in order to compile
> > PHP with Oracle support?
> > 2. What are (if any) the (minimal) necessary files to be copied in order
> > to
> > run Apache + PHP with Oracle support?
>
> Please let us know when you figure this out. You have everything you need
> to figure this out. Build Apache+PHP+Oracle on your big system and poke
> around using ldd. Then copy those shared libs over and have a look at the
> code in the ext/oci8 directory to see which header files are needed and
> off you go.
>
> -Rasmus
>