-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
php-swoole: update to latest versions, php-openswoole: new port #30146
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
base: master
Are you sure you want to change the base?
Conversation
- php-swoole: maintained existing version branches
- php-openswoole: add new port with support for PHP 8.0-8.4
- php-openswoole: version 25.2.0 for PHP 8.2+
- php-openswoole: version 22.1.2 for PHP 8.1
- php-openswoole: version 4.11.1 for PHP 8.0
- both ports have mutual conflicts declared
|
Notifying maintainers: |
|
duplicate of work in #28140 |
|
Not really, the same work for openswoole with the dependencies... |
incorporates work from macports#30146
|
So, I implemented your work in my PR28140
I've tested on my platforms : and have got this :
|
|
|
you seem to have much more insight into openswoole than I have 👍 I'm - more or less - just a glorified clerk attempting to keep everything current. 🤔 |
|
Okay, your question is relevant, so I investigated OpenSwoole's backward compatibility: Given that OpenSwoole itself dropped support for PHP 7 in its 4 branch, and that there are no compatible versions available: OpenSwoole never had versions for older PHP 5/7, and that OpenSwoole is a recent fork of Swoole (2021), therefore it has no legacy history. If I refer to the OpenSwoole articles: https://openswoole.com/article/v4-12-0-released Since MacPorts' philosophy is to support older versions of macOS and PHP, with appropriate and functional extension versions, but not necessarily the latest ones everywhere. I would recommend this breakdown:
|
incorporates work from macports#30146
|
I found your patch in the openswoole bug report and tried to apply it. |
|
Oops, I got a bit cheeky suggesting a hastily written patch based on an old OpenSwoole source code. Here's a patch that actually works: I tested and compiled it with my PHP 8.5 version and it seems to work, tell me. In the PortFile: |
|
The |
incorporates work from macports#30146
|
I've lost count on my fingers... For your last commit : |
The |
|
Okay, you apply the patch permanently and rely on the patch's condition, that works for me |
Summary
This PR includes two changes:
php-openswoole (new port): High-performance network framework for PHP
php-swoole (existing port): No changes, maintained for reference
Testing
port lintNotes
Type(s)
Tested on
macOS 15.7.2 24G325 arm64
Command Line Tools 26.1.0.0.1.1761104275
Verification
Have you
port lint?sudo port test?sudo port -vst install?