Re: [INTERNALS-WIN] php rdkafka

From: Date: Tue, 18 Nov 2025 08:41:35 +0000
Subject: Re: [INTERNALS-WIN] php rdkafka
References: 1 2 3  Groups: php.internals.win 
Request: Send a blank email to internals-win+get-1320@lists.php.net to get a copy of this message
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):
E-maily z adresy contact@shivammathur.com nedostáváte často. Přečtěte si, proč je to důležité <https://aka.ms/LearnAboutSenderIdentification> Hi, The latest release 6.0.5 has builds for PHP 8.4 https://pecl.php.net/package/rdkafka/6.0.5/windows <https://pecl.php.net/package/rdkafka/6.0.5/windows> PHP 8.5 builds will be added once 8.5.0 is released. Thanks Shivam
On 14 Nov 2025, at 6:36 PM, Jan Vávra <vavra@602.cz> wrote: Hello,  I would like to request a Windows build of the PHP *rdkafka* extension compiled for *PHP 8.4* as well as the upcoming *PHP 8.5*. https://pecl.php.net/package/rdkafka/6.0.3/windows Thanks. Jan.


« previous php.internals.win (#1320) next »