ang3/php-oci8

php-oci8 installation binaries

Maintainers

Details

github.com/Ang3/php-oci8

Source

Issues

Installs: 9

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 2

Forks: 0

Open Issues: 0

Language:Shell

v0.1.0 2019-10-10 23:32 UTC

This package is auto-updated.

Last update: 2024-10-14 04:08:26 UTC


README

Latest Stable Version Latest Unstable Version Total Downloads

SH installation files for Oracle instant client and PHP 7 config.

Compatible platforms (tested)

  • Linux Ubuntu ^17.10

Installation

Step 1: Download sources

Open a command console, enter your project directory and execute the following command to download the latest stable version of this package:

$ composer global require --dev ang3/php-oci8

This command requires you to have Composer installed globally, as explained in the installation chapter of the Composer documentation.

Step 2: Installation of Oracle instant client

Included package version: 12.2.0.1.0.

$ sudo sh /<COMPOSER_DIRECTORY>/vendor/bin/install_oracle_instant_client.sh

Step 2: Configure PHP extension

Launch the command following your PHP version.

PHP v7.1

$ sudo sh /<COMPOSER_DIRECTORY>/vendor/bin/configure_php7.1-oci8.sh

PHP v7.2

$ sudo sh /<COMPOSER_DIRECTORY>/vendor/bin/configure_php7.2-oci8.sh

PHP v7.3

$ sudo sh /<COMPOSER_DIRECTORY>/vendor/bin/configure_php7.3-oci8.sh

Restart PHP-FPM, apache or nginx.

Step 3: Optionally remove the package

$ composer global remove ang3/php-oci8

That's it!