note 40887 added to ref.oracle
| From: | nasser/ at /unixica dot com | Date: | Thu, 18 Mar 2004 05:52:16 +0000 |
| Subject: | note 40887 added to ref.oracle | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-66999@lists.php.net to get a copy of this message | ||
More on the header files needed to compile PHP...
I installed the client side of Oracle 9i for Linux in different configurations, and could not get
the oci*.h files that PHP requires for compilation. So in the end, I searched for them through the
jar files, and here's the result:
As you probably know, the Oracle for Linux package comes in three download files, or three disks.
Go to this path:
/path/to/disks/Disk2/stage/Components/oracle.rdbms.oci
The rest of the directories are based on the release number, so they may look a little bit different
but you get the picture:
9.2.0.1.0/1/DataFiles/public.1.1.jar
and use "jar xf" to extract it and grab the header files. Copy them to:
$ORACLE_HOME/rdbms/demo
And your make will work. Since this wasted half of a day of mine (even after going through lots of
comments on the Internet) I hope it saves somebody else's time...
Nasser
----
Manual Page -- http://www.php.net/manual/en/ref.oracle.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40887
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40887&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40887&report=yes
Search -- http://master.php.net/manage/user-notes.php