Re: oracle compilation with php
| From: | Christopher Jones | Date: | Wed, 07 Jan 2004 06:57:41 +0000 |
| Subject: | Re: oracle compilation with php | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-32308@lists.php.net to get a copy of this message | ||
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