Connected to a remote Oracle database with PDO in Linux Environment

See to recompile PHP loading OCI module on the Internet, but a few years ago the article, the current version of the PHP plus PDO can directly access the Oracle database in Linux?

Started by Murphy at October 26, 2016 - 1:19 AM

Although I didn't Oracle but it must

Posted by Gino at November 03, 2016 - 1:49 AM

The manual is written very understand Oh http://php.net/manual/en/ref.pdo-oci.php

Installation

Use --with-pdo-oci[=DIR] to install the PDO Oracle OCI extension, where the optional [=DIR] is the Oracle Home directory. [=DIR] defaults to the $ORACLE_HOME environment variable.

Use --with-pdo-oci=instantclient,prefix,version for an Oracle Instant Client SDK, where prefix and version are configured.

// Using $ORACLE_HOME
$ ./configure --with-pdo-oci

// Using OIC for Linux with 10.2.0.3 RPMs with a /usr prefix
$ ./configure --with-pdo-oci=instantclient,/usr,10.2.0.3

Posted by Augus at November 08, 2016 - 2:45 AM

Can, remote architecture unreliable. Performance and reliability.

Posted by Wythe at November 12, 2016 - 3:42 AM