Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.2 build, please? #532

Open
neuberkauf opened this issue Dec 23, 2022 · 4 comments
Open

PHP 8.2 build, please? #532

neuberkauf opened this issue Dec 23, 2022 · 4 comments
Labels

Comments

@neuberkauf
Copy link

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 neuberkauf added the bug label Dec 23, 2022
@razumnyak
Copy link

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?

@huaiguoguo
Copy link

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

@neuberkauf
Copy link
Author

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:
php/php-src#10850

@macintoshplus
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants