Opened 2 years ago

Closed 2 years ago

Last modified 2 years ago

#64426 closed defect (fixed)

swoole vs openswoole

Reported by: ArtKoKo Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc:
Port: php-swoole

Description

Swoole 4.8.5 (php81-swoole) no longer works with PHP 8.1 : the server swoole not start. Maybe it works with the latest version 2 days ago v4.8.6 but shouldn't it be replaced today by OpenSwoole v4.9.1 with Fibers https://github.com/openswoole/swoole-src ? For more ... https://www.reddit.com/r/PHP/comments/q7euy2/swoole_forked_to_open_swoole_due_to_disagreement/ https://issueexplorer.com/issue/swoole/swoole-src/4434

Change History (4)

comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Status: assignedaccepted

I was not aware of any of these issues until you mentioned them to me just now.

I have not yet read through all of the commentary you linked to. So far it seems like there are lots of heated opinions on both sides.

Since both swoole and openswoole exist, I'm happy to update the php-swoole port to its latest version and to offer a separate php-openswoole port if you want to use that instead.

As to swoole not working with php 8.1, I have no knowledge of that. If php81-swoole 4.8.6 or php81-openswoole 4.9.1 don't work after I update/add them, please file a bug report with their respective authors, since as far as I know I'm not doing anything unusual in the packaging of the php modules in MacPorts; I'm just providing the software the developers have developed.

comment:2 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

In b83d7e38cec760dd556a36ed65b7fffce70a5702/macports-ports (master):

php-swoole: Update to 4.8.6

See: #64426

comment:3 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: acceptedclosed

In 146088ff8deaec2dbac240f5378642f58422422a/macports-ports (master):

php-openswoole: New port, version 4.9.1

Closes: #64426

comment:4 Changed 2 years ago by ArtKoKo

Good job!
Swoole 4.8.6 works well with php 8.1
I have not tested with php-openswoole
Thank you for the development of the openswoole branch.

Last edited 2 years ago by ArtKoKo (previous) (diff)
Note: See TracTickets for help on using tickets.