lizhichao / one

A minimalist high-performance php framework that supports the [swoole | php-fpm] environment
Apache License 2.0
883 stars 127 forks source link

Fail with PHP 8.3 #27

Open joanhey opened 10 months ago

joanhey commented 10 months ago

PHP 8.3 need Swoole 5.1.0, but One only support swoole 4.x.

one: Fatal error: Uncaught Error: Class "swoole_http_server" not found in /one/vendor/lizhichao/one/src/Swoole/OneServer.php:136
one: Stack trace:
one: #0 /one/vendor/lizhichao/one/src/Swoole/OneServer.php(101): One\Swoole\OneServer::startServer(Array)
one: #1 /one/App/swoole.php(21): One\Swoole\OneServer::runAll()
one: #2 {main}
one:   thrown in /one/vendor/lizhichao/one/src/Swoole/OneServer.php on line 136
lizhichao commented 9 months ago

There are currently no plans to support swoole5.x