Open Lemonify opened 1 year ago
php enable swoole extenson on swoole v5.0
./configure --enable-cli \
--enable-swoole \
--enable-sockets \
--enable-mysqlnd \
--enable-swoole-curl \
--enable-cares \
--with-brotli-dir=${brotli_install_prefix} \
--with-nghttp2-dir=${nghttp2_install_prefix}
use swoole-cli more info : https://github.com/swoole/swoole-src/releases
https://github.com/swoole/swoole-src/releases/download/v5.0.3/swoole-cli-v5.0.3-linux-x64.tar.xz https://github.com/swoole/swoole-src/releases/download/v5.0.3/swoole-cli-v5.0.3-macos-x64.tar.xz
or
https://github.com/swoole/swoole-cli.git
curl -fsSL https://github.com/swoole/swoole-cli/blob/main/setup-php-runtime.sh?raw=true | sh
Is your feature request related to a problem? Please describe. Swoole should be capable of running in HTTP2 mode (if compiled correctly), however, there seems to be no option to actually enable it.
Describe the solution you'd like Add options to enable HTTP2 on the Swoole server.