Jim Thome <[EMAIL PROTECTED]> wrote:
> The Oracle client libraries need to be installed on your web server.
> Recompile PHP using the --with-oci8 switch (assuming you are using
> Oracle 8.X).
>
> --Jim
>

Right, this is the first step.
Then try to conenct to the database via sqlplus, if this succeds the
client
is properly configured and you can begin to recompile php.

The recompilation is quite easy.
1. You need to fill the environment variable LD_LIBRARY_PATH with the
path to the oracle libraries. Somewhere in the oracle install directory.
Have a look at the .so files there, should be the right path.
To have the environment variables ORACLE_SID nad ORACLE_HOME filled too
isn't so bad after all.

2. ./configure needs one or two new switches, depending on which
functions
you want to use.
If you want to have only the oci8 functions you only need to
append --with-oci8 to your configure string.
If you want also the old oracle seven functions also
append --with-oracle.

3. Be sure to delete the config.cache and also to do a "make clean"
before configure and make.

4. restart apache, call the phpinfo and be lucky

Greetings
Markus
--
Markus Boehmer
SSI Schaefer Shop GmbH
Datenbankadministration/-entwicklung
mailto:[EMAIL PROTECTED]


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to