Click to See Complete Forum and Search --> : php + oracle 8.1.5 installation


Anon
08-10-2000, 12:03 PM
Hi everyone,
i'm having troubles installing php-4.0.1pl2 with oracle 8.1.5(client) on a linux rh 6.2 machine.

oracle client is installed correctly and works (tnsping works fine)

system variables are:
$ORACLE_HOME=/usr/local/oracle/8i/u01/app/oracle/product/8.1.5
pp/oracle/product/8.1.5
$ORACLE_BASE=/usr/local/oracle/8i/u01/app/oracle

php is compiled with options: --with-oracle=$ORACLE_HOME --with-oci8=$ORACLE_HOME

and the script hangs giving the following errors:
In file included from internal_functions.c:38:
/usr/local/src/php-4.0.1pl2/ext/oracle/php_oracle.h:22: oratypes.h: No such file or directory
/usr/local/src/php-4.0.1pl2/ext/oracle/php_oracle.h:23: ocidfn.h: No such file or directory
/usr/local/src/php-4.0.1pl2/ext/oracle/php_oracle.h:24: ociapr.h: No such file or directory
In file included from internal_functions.c:39:
/usr/local/src/php-4.0.1pl2/ext/oci8/php_oci8.h:56: oci.h: No such file or directory

has anyone any information that could help me?
i'll really appreciate
thanks in advance
vagel

Anon
08-11-2000, 07:18 AM
Did you installed Oracle development tools in your box. (Proc*C or OCI ) . Header files are installed with those products.


JBL

Anon
08-11-2000, 07:24 AM
thanks for your answer JBL
it works finally.
i uninstalled the 8.1.5 and installed the 8.1.6 client taking the development tools option too.

Of course at this stage i cannot say if the 8.1.5 had really a problem corrected in 8.1.6 but anyway i happy that it works.
thanks again
vagel