mlocati / docker-php-extension-installer

Easily install PHP extensions in Docker containers
MIT License
4.33k stars 388 forks source link

install swoole 6-beta for php 8.4 #1008

Open ariaieboy opened 5 days ago

ariaieboy commented 5 days ago

Hi, I want to know if installing swoole 6-beta on the PHP 8.4 docker image is possible. swoole 6 adds support for PHP 8.4

mlocati commented 5 days ago

See https://github.com/swoole/swoole-src/issues/5531

ariaieboy commented 5 days ago

@mlocati Yes I know about that issue. installing 6-alpha is also enough for testing.

I tried to install the swoole 6 on php.4 using this code:

RUN chmod +x /usr/local/bin/install-php-extensions && \
    install-php-extensions swoole-^6

and I get this error:

86.36 configure: error: Package requirements (liburing) were not met:
86.36
86.36 Package 'liburing' not found

php:8.4-rc-cli-alpine is used as a base

mlocati commented 5 days ago

The alpha version is really too old on PECL (2024-06-24) - see https://pecl.php.net/package/swoole

They should upload a new release on PECL

NathanFreeman commented 4 days ago

I have re-uploaded the Swoole installation package to PECL. You can try installing it using the command pecl install swoole-6.0.0RC1. @ariaieboy

ariaieboy commented 3 days ago

@mlocati liburing-dev must be installed so we can install swoole 6

mlocati commented 3 days ago

It seems that swoole requires at least version 2.5 of liburing , but debian bookworm provides version 2.3.

I have to check if liburing is really mandatory or if it's an optional stuff.

ariaieboy commented 1 day ago

@mlocati can you re-open this issue so I can track when it gets fixed?