Hello,
I'm trying to install PHP for Apache on RedHat from source. I've done it several times with no problems, but I have never included OCI8 support.
So, this time I installed Oracle 9i client in my box and tested it successfully (sqlplus works fine). After that I tried to recompile php, using in the configure options two that I hadn't include before:
--with-oci=$ORACLE_HOME (this variable is set, I tried expanding it and avoiding it, with the same result)
--enable-sigchild (I'm not sure why this one is needed but I saw this option included in many forums so I gave it a try).

When the configuration runs I can see:
"checking for Oracle-OCI8 support... no"

Ignoring that, I continue with the installation and watch phpinfo() result, wich doesn't mention Oracle support anywhere.

What am I doing wrong?
Thanks in advance,

--Claudio

PS: My full configure line is:
./configure --with-apxs2=/usr/sbin/apxs \
--with-mysql=/usr \
--enable-track-vars \
--with-png-dir \
--with-jpeg-dir \
--with-gd=/usr/local \
--enable-gd-native-ttf \
--with-freetype-dir \
--enable-ftp \
--enable-sysvsem \
--enable-sysvshm \
--enable-sockets \
--with-zlib-dir \
--enable-dbase \
--enable-snmp \
--with-oci=/opt/oracle/product/9.2.0 \
--enable-sigchild

    It should be --with-oci8, not just oci. And enable-sigchild isn't neccesary...

      Thank you very much.
      Is funny how a simple mispelling can complicate my day... :queasy:

        Write a Reply...