Monday, October 12, 2015

Installing PHP and the Oracle Instant Client for Linux and Windows

Installing PHP and the Oracle Instant Client for Linux and Windows


Configuration de PHP avec OCI8


High performance PHP applications with Oracle Database


Instant Client Downloads for Microsoft Windows (32-bit)

Call to undefined function oci-connect php oci8

php --ri oci8

PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\php-5.2.8\ext\php_
oci8.dll' - %1 is not a valid Win32 application.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\php-5.2.8\ext\php_
pdo_oci8.dll' - %1 is not a valid Win32 application.
 in Unknown on line 0
Extension 'oci8' not present.

Aprés installation du client oracle oci8

php --ri oci8
PHP Warning:  PHP Startup: Invalid library (maybe not a PHP library) 'php_pdo_oc
i8.dll'  in Unknown on line 0

oci8

OCI8 Support => enabled
Version => 1.2.5
Revision => $Revision: 1.269.2.16.2.43 $
Active Persistent Connections => 0
Active Connections => 0
Temporary Lob support => enabled
Collections support => enabled

Directive => Local Value => Master Value
oci8.max_persistent => -1 => -1
oci8.persistent_timeout => -1 => -1
oci8.ping_interval => 60 => 60
oci8.privileged_connect => Off => Off
oci8.statement_cache_size => 20 => 20
oci8.default_prefetch => 10 => 10
oci8.old_oci_close_semantics => no value => no value

No comments:

Post a Comment