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.4 support #36

Closed
cal-tec opened this issue Dec 27, 2024 · 8 comments
Closed

PHP 8.4 support #36

cal-tec opened this issue Dec 27, 2024 · 8 comments

Comments

@cal-tec
Copy link

cal-tec commented Dec 27, 2024

I have tried to add the pecl gearman extension to php 8.4 but it currently has a maximum php version of 8.3.99 for version 2.1.2.
With php 8.4 now launched this is preventing users from upgrading to php 8.4 where they require the gearman extension.

@mykiwi
Copy link
Contributor

mykiwi commented Jan 6, 2025

I tried to prepare a PR, see #37
Should we do something else?
What do you think @rlerdorf?

@esabol
Copy link
Contributor

esabol commented Jan 7, 2025

@mykiwi : PR #37 was merged and a version 2.1.3 released. Does it install and work on PHP 8.4 now? Please confirm.

@mykiwi
Copy link
Contributor

mykiwi commented Jan 7, 2025

I don't see the 2.1.3 on https://pecl.php.net/package/gearman
And when I try to install it:

pecl/gearman requires PHP (version >= 7.0.0, version <= 8.3.99, excluded versions: 6.0.0), installed version is 8.4.2
No valid packages found

@esabol
Copy link
Contributor

esabol commented Jan 7, 2025

@mykiwi : You need to install version 2.1.3, obviously, which you can download at https://github.com/php/pecl-networking-gearman/releases/tag/gearman-2.1.3

@mykiwi
Copy link
Contributor

mykiwi commented Jan 7, 2025

I'm using https://github.com/mlocati/docker-php-extension-installer to install extensions
Example:

$ docker run --rm -ti php:8.4 bash

$ ( curl -sSLf https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions -o - || echo 'return 1' ) | sh -s \
    gearman-2.1.3

[...]

Failed to download pecl/gearman, version "2.1.3", latest release is version 2.1.2, stability "stable", use "channel://pecl.php.net/gearman-2.1.2" to install
install failed

@mykiwi
Copy link
Contributor

mykiwi commented Jan 7, 2025

@hjr3 could you publish the new version on pecl please?

@hjr3
Copy link
Contributor

hjr3 commented Jan 7, 2025

@mykiwi i am not involved in this project anymore. It looks like @rlerdorf was the last one to do a release.

@rlerdorf
Copy link
Member

rlerdorf commented Jan 7, 2025

fixed

@rlerdorf rlerdorf closed this as completed Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants