Re: [PHP-DB] oracle compilation with php

2004-01-07 Thread Christopher Jones
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


RE: [PHP-DB] oracle compilation with php

2004-01-07 Thread Douglas B. Jones

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



Re: [PHP-DB] oracle compilation with php

2004-01-07 Thread Michael Mauch
Douglas B. Jones wrote:
 
 I did not see an answer on php-install.

http://lists.php.net/article.php?group=php.installarticle=12457

 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.

It's ORACLE_HOME, not ORA_HOME. You have to set and export it in the
shell.

 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.

Yes, Oracle's installer is fun.

Regards...
Michael

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



Re: [PHP-DB] oracle compilation with php

2004-01-07 Thread Christopher Jones
Douglas,

To try and reduce confusion, a Client install refers to the option
of that name in the Oracle9i Database Release installer. (The other
options are Database, Mgt  Intg, and Cluster Mgt).
This will install the headers needed to link PHP, if your previous
installer choice didn't load them.
The Oracle/PHP/Linux install notes at
http://otn.oracle.com/tech/opensource/php/apache/inst_php_apache_linux.html
skim over this but otherwise might have some info that is helpful and
applicable to Tru64.
Chris

Michael Mauch wrote:
Douglas B. Jones wrote:
 

I did not see an answer on php-install.


http://lists.php.net/article.php?group=php.installarticle=12457

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.


It's ORACLE_HOME, not ORA_HOME. You have to set and export it in the
shell.

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.


Yes, Oracle's installer is fun.

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