Apache2+PHP5, Connecting to multiple Oracle servers
| From: | Mikael Jokela | Date: | Fri, 17 Dec 2004 15:35:44 +0000 |
| Subject: | Apache2+PHP5, Connecting to multiple Oracle servers | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-37739@lists.php.net to get a copy of this message | ||
Hi,
I use Apache2+PHP5 on Linux to connect to an Oci8 compliant
remote Oracle server. I have compiled PHP against the Oracle
client release 10.1.0. This works fine so far.
I need to connect to an older remote Oracle server, too.
This Oracle version is 8.0.5 which seems to be too old to work
with the same configuration.
I guess I have two options:
- To install an older Oracle client release for Linux and
configure PHP with Oci7 (is 8.0.5 oci7 compliant?) and Oci8.
- To use odbc with the older Oracle.
I thought it might be a good idea to use odbc so I configured
PHP with iodbc driver manager support. Unfortunately, I can't
find an Oracle odbc driver for Linux! There seem to be commercial
drivers but are they worth buying?
If I decided to install a native Oracle client for the older
database, which client version should I choose?
Thank you for your ideas on this matter!
Mikael Jokela