Hello,
I tried to load the module and failed with
C:\src\php>php -m
c:\src\php\ext\php_rdkafka.dll doesn't appear to be a valid Zend extension
In the C:\src\php
I have
libcrypto-1_1-x64.dll
libssl-1_1-x64.dll
and extracted dlls from the kafka.zip
librdkafka.dll
librdkafka++.dll
My php ABI version is: 20240924
php -info:
PHP Version => 8.4.14
System => Windows NT VAVRA-PC 10.0 build 26100 (Windows 11) AMD64
Build Date => Oct 22 2025 08:48:27
Build System => Microsoft Windows Server 2022 Datacenter [10.0.20348]
Compiler => Visual C++ 2022
Architecture => x64
Configure Command => cscript /nologo /e:jscript configure.js "--enable-snapshot-build" "--enable-debug-pack" "--disable-zts" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--without-analyzer" "--with-pgo"
Server API => Command Line Interface
Virtual Directory Support => disabled
Configuration File (php.ini) Path =>
Loaded Configuration File => C:\src\php\php.ini
Scan this dir for additional .ini files => (none)
Additional .ini files parsed => (none)
PHP API => 20240924
PHP Extension => 20240924
Zend Extension => 420240924
Zend Extension Build => API420240924,NTS,VS17
PHP Extension Build => API20240924,NTS,VS17
PHP Integer Size => 64 bits
Debug Build => no
Thread Safety => disabled
Zend Signal Handling => disabled
Zend Memory Manager => enabled
Zend Multibyte Support => provided by mbstring
Zend Max Execution Timers => disabled
IPv6 Support => enabled
DTrace Support => disabled
Registered PHP Streams => compress.zlib, php, file, glob, data, http, ftp, https, ftps, phar, zip, sqlsrv, ssh2.shell, ssh2.exec, ssh2.tunnel, ssh2.scp, ssh2.sftp
Registered Stream Socket Transports => tcp, udp, ssl, tls, tlsv1.0, tlsv1.1, tlsv1.2, tlsv1.3
Registered Stream Filters => convert.iconv.*, zlib.*, string.rot13, string.toupper, string.tolower, convert.*, consumed, dechunk
This program makes use of the Zend Scripting Language Engine:
Zend Engine v4.4.14, Copyright (c) Zend Technologies
with Zend OPcache v8.4.14, Copyright (c), by Zend Technologies
with Xdebug v3.4.5, Copyright (c) 2002-2025, by Derick Rethans
Isn't the php_rdkafka.dll compiled with an older PHP API version ?
Jan
Dne 18.11.2025 v 8:11 Jan Vávra napsal(a):
Many thanks.
Jan.
Dne 17.11.2025 v 8:05 Shivam Mathur napsal(a):