Problem installing printer driver in PHP (WAMP) OCI8 format

Hi,

I need to install oci8 drivers for PHP, but I have some problems.

I already have a WAMP installation that comes with the oci8 extension, and did the following to configure it:

  • Enable the extension by adding the following to the php.ini file in my Apache docroot as a local variable:
    [PHP_OCI8]
    extension = php_oci8.dll
  • Added my path to extension directories for my PATH environment variable in windows (c: /wamp/bin/php/php5.3.0/ext/;)
  • Added the same extension directory to the php.ini file

When I start my wamp, I see the following error message:

  • PHP Startup: Unable to load dynamic library c: /wamp/bin/php/php5.3.0/ext/php_oci8.dll

I was able to verify that the above path is correct, and I am tempted to say that something is wrong with the .dll, but I'm not sure.

Has anyone encountered similar problems?

+3
source share
2 answers

The Oracle OCI8 driver also requires that the Oracle Instant Client 10gR2 (aka 10.2.x) libraries or newer ones are installed on a computer running PHP. It is recommended that you use a version of Basic or Basic Lite, depending on whether you need internationalization libraries or not.

Instant Instant Client Download Page Win64 Instant File Download Page

+3
source

: PHP 5 Windows Oracle HTTP Server 10g. PHP <= 5.0 Oracle 8i 9i, PHP >= 5.1 Oracle 10gR2 . Oracle HTTP Server 10g Oracle 10gR1, PHP 5 ( , Windows, , ...) PHP 4.3.9 Apache. : PHP-, , , PHP 5.0. : Oracle HTTP Server - 9i 10gR2 Oracle Home.

0

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


All Articles