php-rdkafka icon indicating copy to clipboard operation
php-rdkafka copied to clipboard

PHP 8.2 build, please?

Open neuberkauf opened this issue 2 years ago • 4 comments

Description

I have the most recent available DLL from the PECL site, but it's older than PHP's compile date, so it won't initialize.

PS C:\Users\me> php -v
PHP Warning:  PHP Startup: rdkafka: Unable to initialize module
Module compiled with module API=20210902
PHP    compiled with module API=20220829
These options need to match
 in Unknown on line 0
PHP 8.2.0 (cli) (built: Dec  6 2022 15:25:41) (NTS Visual C++ 2019 x64)
Copyright (c) The PHP Group
Zend Engine v4.2.0, Copyright (c) Zend Technologies
    with Xdebug v3.2.0, Copyright (c) 2002-2022, by Derick Rethans

Will there be an update soon?

php-rdkafka Version

6.0.3

librdkafka Version

No response

PHP Version

8.2.0

Operating System

Windows 11

Kafka Version

No response

neuberkauf avatar Dec 23 '22 20:12 neuberkauf

Hello @arnaud-lb

I also join the issue of releasing a version for php 8.2 via pecl (linux).

Tell me if we can help with this?

razumnyak avatar Feb 13 '23 16:02 razumnyak

i also want to ask this question! @arnaud-lb

huaiguoguo avatar Jul 11 '23 13:07 huaiguoguo

For all involved in this issue, the PHP Windows site has added a note about PECL DLLs: https://windows.php.net/#news-2022-10-17-1

It's been there for a while, but since the main Windows site and PECL site are on different subdomains, it's easy to miss the announcement if you go straight to PECL from search results.

There's some discussion about it here: https://github.com/php/php-src/issues/10850

neuberkauf avatar Jul 11 '23 14:07 neuberkauf

I am pleased to announce that this extension is now compiled for Windows by the PHP Extension Repository site.

You can download the DLLs on the extension page: https://phpext.phptools.online/extension/networking/rdkafka-180

If you have any questions, I am available to discuss them.

macintoshplus avatar Mar 23 '24 09:03 macintoshplus