PHP and Oracle using a thin driver

Is there a thin driver for Oracle available for use with PHP (for example, as an extension)?

I cannot install the OCI driver / client, but must have access to the Oracle database.

+4
source share
3 answers

What is the problem with installing the OCI driver? The InstantClient version just needs to unzip and set a couple of environment variables.

Another option is to display database functions through web services. 11g includes an embedded HTTP server.

+2
source

Oracle has released the jdbc driver written only in java but (afaik) without source code, so I doubt that they will release the php driver (source code). And I never heard of someone else trying.

But another question: "(for example, as an extension)" Could you install the extension, but not the oci8 extension?

0
source

There is no Oracle thin driver in PHP. You always need an external client library, such as Oracle Instant Client, which is very easy to install. Check out http://www.oracle.com/technology/tech/php/pdf/underground-php-oracle-manual.pdf

(In addition, Oracle has PHP and Instant Client RPM files that can be used on RH Linux.)

0
source

Source: https://habr.com/ru/post/1286640/


All Articles