Name

Oracle

Synopsis

PHP includes two separate Oracle extensions—one for accessing Oracle 7 and earlier databases and one for accessing Oracle 7 and Oracle 8 databases through the Oracle 8 Call-Interface (OCI8). The OCI8 extension is the more full-featured extension and should be used in preference to the older Oracle extension , when possible.

To access Oracle databases with PHP, you must install the appropriate Oracle client libraries and compile PHP with the --with-oci8[ =DIR ] directive. If you are using Oracle 7 or earlier, compile PHP with the --with-oracle[ =DIR ] directive instead.

Get Programming PHP, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.