Re: minimal Oracle support
| From: | Rasmus Lerdorf | Date: | Fri, 14 Jul 2000 12:53:22 +0000 |
| Subject: | Re: minimal Oracle support | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-1146@lists.php.net to get a copy of this message | ||
> 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