Home » Open Source » Programming Interfaces » PHP config error ocidfn.h file not found
PHP config error ocidfn.h file not found [message #139160] Mon, 26 September 2005 12:52
Messages: 2
Registered: September 2005
Junior Member
I am a new user with oracle and php. I am configuring php_oracle for php 4.3.11 using oracle 9.04. We only desire to use oracle not oci at this time. oci is not installed at the present.

After I configure php and perform the make I get a couple of errors as follows:

"/opt/src/php-4.3.11/ext/oracle/php_oracle.h", line 23: cannot find include file
: "ocidfn.h"
"/opt/src/php-4.3.11/ext/oracle/php_oracle.h", line 24: cannot find include file
: "ociapr.h"
"/opt/src/php-4.3.11/ext/oracle/php_oracle.h", line 69: syntax error before or a
t: Lda_Def
"/opt/src/php-4.3.11/ext/oracle/php_oracle.h", line 69: cannot recover from prev
ious errors
cc: acomp failed for /opt/src/php-4.3.11/ext/oracle/oracle.c

Since I am not using oci could I comment out the references to the includes for "ocidfn.h" and "ociapr.h" in the php_oracle.h script?

Thanks in advance for any help.

Previous Topic: PHP & OCIBindByName
Next Topic: Connect to remote Oracle 8.x from Solaris server with Apache/PHP?
Goto Forum:

Current Time: Thu Feb 29 19:36:31 CST 2024