Re: OT: PHP 5.6 with ohs in FM11g on Win2k12 (x64)
Date: Tue, 7 Feb 2017 11:46:50 -0400
Message-ID: <CACH2EDJ6J3FdjTyYZfwOoVAvBUO+5nMTgoTqcBXsVUpxYxvWiA_at_mail.gmail.com>
Well, oci8 in the WAMP 3 server doesn't work for me either.
I did install the Microsoft Visual C++ redistributables that match what was
used to compile PHP for windows. VC9, VC10, VC11, VC12, VC13, VC15
I am using the 64-bit instantclient
D:\PHP>deplister php5apache2_4.dll
D:\PHP>deplister ext\php_oci8_12c.dll
D:\PHP>php --ri oci8
oci8
OCI8 Support => enabled
Directive => Local Value => Master Value
Statistics =>
also,
php --ri oci8 is happy but phpinfo doesn't list oci8 and attempts to
php5ts.dll,OK
libhttpd.dll,OK
libapr-1.dll,OK
libaprutil-1.dll,OK
MSVCR110.dll,OK
KERNEL32.dll,OK
php5ts.dll,OK
OCI.dll,OK
MSVCR110.dll,OK
KERNEL32.dll,OK
OCI8 DTrace Support => disabled
OCI8 Version => 2.0.11
Revision => $Id: 8effa3c719ada4f4f79587ac85aca57b3b9f9b38 $
Oracle Run-time Client Library Version => 12.1.0.2.0
Oracle Compile-time Instant Client Version => 12.1
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 => 100 => 100
oci8.old_oci_close_semantics => Off => Off
oci8.connection_class => no value => no value
oci8.events => Off => Off
Active Persistent Connections => 0
Active Connections => 0
D:\PHP>php -r "var_dump(function_exists('oci_connect'));"
bool(true)
*Fatal error*: Call to undefined function oci_connect() in
*D:\Oracle\user_projects\domains\base_domain\config\fmwconfig\components\OHS\instances\ohs1\htdocs\oci8_connect.php*
on
line *4*
In the WAMP 3 server I uncommented the oci8 extension reference, then started gettting errors like oci.dll is missing from your computer. I also had to download another Visual C++ extension.
So even in the WAMP distribution oci8 doesn't work for me. I left a note on their support site.
the saga continues.
-- http://www.freelists.org/webpage/oracle-lReceived on Tue Feb 07 2017 - 16:46:50 CET