Bug #68645 [Asn->Nab]: Cannot load oci8 extension
Edit report at https://bugs.php.net/bug.php?id=68645&edit=1
ID: 68645
Updated by: sixd@php.net
Reported by: tony at marston-home dot demon dot co dot uk
Summary: Cannot load oci8 extension
-Status: Assigned
+Status: Not a bug
Type: Bug
Package: OCI8 related
Operating System: Windows 7
PHP Version: 5.6.4
Assigned To: sixd
Block user comment: N
Private report: N
New Comment:
OCI8 DLLs built with 10g, 11g and 12c are available in PECL. Use the appropriate one for your
version of Oracle client libraries.
Previous Comments:
------------------------------------------------------------------------
[2014-12-26 07:55:49] tony at marston-home dot demon dot co dot uk
You are correct. The files php_oci8.dll and php_oci8_11g.dll were left over from the 5.5.20
installation. The only version that came with 5.6.4 was php_oci8_12c.dll
------------------------------------------------------------------------
[2014-12-25 17:07:54] ab@php.net
Not sure where you get your bin distribution then (or that's just that "overwrite"
issue again). In the zips prom windows.php.net like http://windows.php.net/downloads/releases/php-5.6.4-nts-Win32-VC11-x86.zip
there's only 12c one. But you also can check what PHP version it was compiled with by right
clicking the dll => properties => details.
Thanks.
------------------------------------------------------------------------
[2014-12-25 16:20:58] tony at marston-home dot demon dot co dot uk
The 5.6.4 zip file has three versions of the oci8 dll - php_oci8.dll, php_oci8_11g.dll and
php_oci8_12c.dll all with the same file creation date. I am currently using Oracle 11g.
If I try to use php_oci8_12c.dll I get the message "PHP Startup: Unable to load dynamic library
'F:/php5/ext\php_oci8_12c.dll' - The specified procedure could not be found.
in Unknown on line 0"
------------------------------------------------------------------------
[2014-12-25 15:58:29] ab@php.net
Please note that PHP 5.6 doesn't deliver php_oci8_11g.dll anymore, the mistake is that you try
to load an ext DLL from PHP 5.5 into 5.6. You probably should be using php_oci8_12c.dll delivered
with 5.6 instead. But whether it works with 11g then, probably Chris can answer then.
Cheers.
------------------------------------------------------------------------
[2014-12-25 11:51:53] ab@php.net
Related To: Bug #68646
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=68645
--
Edit this bug report at https://bugs.php.net/bug.php?id=68645&edit=1
Thread (9 messages)