note 40887 deleted from ref.oracle by danbrown
| From: | danbrown@php.net | Date: | Fri, 28 Nov 2008 22:25:00 +0000 |
| Subject: | note 40887 deleted from ref.oracle by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-147326@lists.php.net to get a copy of this message | ||
Note Submitter: nasser / at / unixica dot com
----
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