Skip to content

Commit 48878c4

Browse files
authored
Improve README file
Added installation instructions and useful links for the PHP OCI8 extension.
1 parent e4c2000 commit 48878c4

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22

33
Use the PHP OCI8 extension to access Oracle Database.
44

5-
Documentation is at https://www.php.net/oci8
5+
Documentation is at https://www.php.net/oci8.
6+
7+
Installation
8+
--------------------
9+
The PHP OCI8 extension is available in the PECL repository [here](https://pecl.php.net/package/oci8).
610

711
Use `pecl install oci8` to install for PHP 8.2 and PHP 8.3.
812

@@ -20,9 +24,14 @@ PHP_DTRACE=yes before running `pecl install oci8`. For example, on Linux:
2024
You may additionally need the dtrace-devel or systemtap-sdt-devel package
2125
installed.
2226

23-
The PHP OCI8 extension can be linked with Oracle client libraries from Oracle
27+
On Windows, pre-compiled OCI8 DLLs are available for download and quick use from
28+
the [PECL repository](https://pecl.php.net/package/oci8). You may use the DLL directly
29+
by including them in the `php.ini` file.
30+
See [OCI8 installation](https://www.php.net/manual/en/oci8.installation.php) for more details.
31+
32+
The PHP OCI8 extension can be linked with Oracle Client libraries from Oracle
2433
Database 11.2 or later. These libraries are found in your database
25-
installation, or in the free Oracle Instant Client from
34+
installation, or in the free Oracle Instant Client packages from
2635

2736
https://www.oracle.com/database/technologies/instant-client.html
2837

@@ -34,6 +43,9 @@ OCI8 linked with Instant Client 19c can connect to Oracle Database 11.2 or
3443
later. See Oracle Support's note "Oracle Client / Server Interoperability
3544
Support" (ID 207303.1) for details.
3645

46+
Useful Links
47+
------------
48+
3749
A sample configuration php.ini file is at
3850
https://github.com/php/pecl-database-oci8/blob/main/oci8.ini
3951

0 commit comments

Comments
 (0)