Edit report at https://bugs.php.net/bug.php?id=79775&edit=1
ID: 79775
User updated by: thomas dot wiedmann at laek-bw dot de
Reported by: thomas dot wiedmann at laek-bw dot de
Summary: Unable to load dynamic library 'php_oci8_12c.dll'
Status: Assigned
Type: Bug
Package: Oracle related
Operating System: Windows NT 10.0 build 14393
PHP Version: 7.4.7
Assigned To: sixd
Block user comment: N
Private report: N
New Comment:
phpinfo();
PDO_OCI is loaded well.
Previous Comments:
------------------------------------------------------------------------
[2020-07-03 12:41:42] thomas dot wiedmann at laek-bw dot de
Don't now - deplister show nothing. Maybe I have to ask my admin?
---------
X:\AERUS\php-7.4.7-Win32-vc15-x64>deplister.exe ext\php_oci8_12.dll
X:\AERUS\php-7.4.7-Win32-vc15-x64>pause
Drücken Sie eine beliebige Taste . . .
-----------------
Look on my phpinfo() - Apache Environment - Path:
------------
C:\oracle\product\11.2.0\client_1\bin;C:\oracle\product\11.2.0\client_1;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
------------------------------------------------------------------------
[2020-07-03 12:33:09] cmb@php.net
Hmm, I wonder what's the difference between ext/oci8 and
PECL/oci8.
------------------------------------------------------------------------
[2020-07-03 12:29:35] cmb@php.net
Use deplister.exe (contained in all PHP downloads from
windows.php.net) to check for the dependencies of php_oci8_12.dll:
deplister php_oci8_12.dll
I assume that OCI.dll is not in your PATH.
------------------------------------------------------------------------
[2020-07-03 12:20:06] thomas dot wiedmann at laek-bw dot de
This pecl .dll is in use:
https://pecl.php.net/package/oci8/2.2.0/windows
oci8 2.2.0 for Windows
7.4 Thread Safe (TS) x64
------------------------------------------------------------------------
[2020-07-03 12:07:09] thomas dot wiedmann at laek-bw dot de
Description:
------------
Apache is unable to load dynamic library 'php_oci8_12c.dll'
========
Apache 2.4.33 error.log: (httpd-2.4.33-win64-VC15.zip)
--------------------------------------------------------
PHP Warning: PHP Startup: Unable to load dynamic library 'php_oci8_12c.dll' (tried:
c:/Program Files/AERUS/php-7.4.7-Win32-vc15-x64/ext\\php_oci8_12c.dll (Die angegebene Prozedur wurde
nicht gefunden.), c:/Program Files/AERUS/php-7.4.7-Win32-vc15-x64/ext\\php_php_oci8_12c.dll.dll (Das
angegebene Modul wurde nicht gefunden.)) in Unknown on line 0
OS: Windows NT 10.0 build 14393 (Windows Server 2016) AMD64 64-Bit
Any hint to debug this?
Test script:
---------------
<?php
phpinfo();
?>
Expected result:
----------------
<?php
phpinfo();
?>
load php_oci8_12c.dll
Actual result:
--------------
Unable to load dynamic library 'php_oci8_12c.dll'
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=79775&edit=1