Hi Everybody:
My Environment is as follows:
Platform : Redhat 7.2
Database : Oracle 8i on windows 2000
PHP on redhat : ver 4.0.6
I want to use php to connect oracle database on win 2000. In fact I have succeeded to build a test environment on php 4.0.5+Oracle 8i client(both on RedHat 6.2) and the database is Oracle 8i on win 2000.Because Oracle 8i is based on glibc 2.1.3 and RedHat 7.2 is based on glibc 2.2, so I try to install Oracle 9i client on RedHat 7.2,and it works.Next I try to configure php.spec to supply oci module as follows:
--with-oci8=/opt/oracle/product/9.2.0
However,it did not work after I rebuild the spec file and the error messages is :
Oracle_OCI8 needed libraries not found
So I trace the configure file :
/usr/src/redhat/BUILD/php-4.0.6/configure
and find that "$OCI8_DIR/rdbms/public" directory does not exist under the /opt/oracle/product/9.2.0 directory,which is needed by php-4.0.6 to support Oracle OCI8 function.Is there anyone can help me to solve this problem ??
thanks in advance.