Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
internals:windows:libs:oracle [2008/07/15 20:50] – Add explicit path command from rrichards sixd | internals:windows:libs:oracle [2008/08/05 07:04] – pajoye |
---|
- Unzip the "sdk" package and rename the directory as ''include/instantclient'' | - Unzip the "sdk" package and rename the directory as ''include/instantclient'' |
- Build with the ''--with-oci8'' option, e.g. ''--with-oci8=shared''. You can also pass the Instant Client path, for example ''--with-oci8=F:\instantclient_10_2\sdk,shared'' | - Build with the ''--with-oci8'' option, e.g. ''--with-oci8=shared''. You can also pass the Instant Client path, for example ''--with-oci8=F:\instantclient_10_2\sdk,shared'' |
- Move the generated ''php_oci8.dll'' to the extensions directory and edit ''php.ini'', setting ''extension_dir'' to that path. Enable the extension in ''php.ini'' with ''extension=php_oci8.dll'' | - Build with the ''--with-oci8-11g'' option, e.g. ''--with-oci8-11g=shared''. You can also pass the Instant Client path, for example ''--with-oci8=F:\instantclient_11\sdk,shared'' |
| - Move the generated ''php_oci8.dll'' (or ''php_oci8_11g.dll'') to the extensions directory and edit ''php.ini'', setting ''extension_dir'' to that path. Enable the extension in ''php.ini'' with ''extension=php_oci8.dll'' (or ''php_oci8_11g.dll'') |
| |
| It is not possible to build statically oci8 and oci8_11g at the same time (a configure check checks it). |
| |
===== Getting Instant Client ===== | ===== Getting Instant Client ===== |
| |
Instant Client is free and has a permissive license. | Instant Client is free and has a permissive license, allowing development, deployment and distribution of the Oracle libraries. |
| |
Download: [[http://www.oracle.com/technology/software/tech/oci/instantclient/index.html|Oracle Instant Client]] | Download: [[http://www.oracle.com/technology/software/tech/oci/instantclient/index.html|Oracle Instant Client]] |