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

8.4 runtime is missing the swoole extension #760

Open
eae-omeyer opened this issue Nov 25, 2024 · 2 comments
Open

8.4 runtime is missing the swoole extension #760

eae-omeyer opened this issue Nov 25, 2024 · 2 comments

Comments

@eae-omeyer
Copy link

Sail Version

1.38.0

Laravel Version

11.33.2

PHP Version

8.4

Operating System

Windows (WSL)

OS Version

11

Description

On startup with enabled swoole configuration, the error "The Swoole extension is missing." is shown. Unable to start.

Looking at the corresponding docker file shows the swoole extension is excluded.

Steps To Reproduce

Fresh install...

$ curl -s https://laravel.build/example-app?with=none | bash

...or change runtime version in docker-compose with 8.4 context: ./vendor/laravel/sail/runtimes/8.4
...add the supervisor command for swoole as described here

$ sail up

[...]
ERROR  The Swoole extension is missing.

2024-11-25 17:08:34,952 INFO exited: php (exit status 1; not expected)
^CGracefully stopping... (press Ctrl+C again to force)
[...]
@Jubeki
Copy link
Contributor

Jubeki commented Nov 25, 2024

The Swoole extensions is not yet released for PHP 8.4. See the following tracking issue: oerdnj/deb.sury.org#2176

You can also check yourself:

apt list php8.4-swoole

which will yield no results.

@eae-omeyer
Copy link
Author

Yes, you are right - didn't notice that before :/

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

2 participants