I did not see an answer on php-install. I have also tried oci8,
but I get the error mentioned at the bottom of my post. I have
the ORA_HOME set, both on the shell level and the makefile level.
I look under the ORA_HOME root with 'find ORA_HOME -name oci.h
-print', and I get nothing. When I look for all headers, '*.h',
I get none of the ones missing for php oci8 or oracle options.
Thanks for the quote below, I will then want to look more to
the oci8 calls then. Unfortunately, neither oci8 or oracle php
option let me compile, due to the respective missing header files.

-----Original Message-----
From: Christopher Jones [mailto:[EMAIL PROTECTED]
Sent: Wednesday, January 07, 2004 1:58 AM
To: Douglas B. Jones
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DB] oracle compilation with php



I see the answer has already been given on php-install.

A suggestion which hasn't been made is to use PHP's new oci8
interface in preference to the old one called "oracle" whenever
possible.

To quote from a note on Oracle's PHP forum (see
http://forums.oracle.com/forums/forum.jsp?forum=178 )

   "There are several reasons why I'd want to use PHP's OCI8 instead of
   ora_ calls: better Oracle behavior, performance and support, ability
   to use LOBs, and perhaps OCI8 is more widely used with better PHP
   support and examples."

Chris

Douglas B. Jones wrote:

> Hi,
>
> (I also posted this to php-install this morning, but decided to
> see if I might get some more help in this group - sorry for any
> cross postings.)
>
> We are on Tru64 5.1 and I am trying to compile php 4.3.4. I get
> the following error:
>
> cc: Severe: /src/net/www/php-4.3.4/ext/oracle/php_oracle.h, line 23:
Cannot
> find file "ocidfn.h" specified in #include directive. (noinclfilef)
> #include "ocidfn.h"
> -^
>
> I cannot find this include file anywhere in the oracle installation
> or the php installation. The oracle version is 9.2.0.1.0.
>
> I have also try oci8, but no luck there either - it can't find "oci.h".
>
> Thanks for any help.
> Cheers,
> Douglas
>

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

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

Reply via email to