mirror of
https://gitee.com/hyperf/hyperf.git
synced 2024-11-30 18:57:51 +08:00
11 lines
307 B
Bash
Executable File
11 lines
307 B
Bash
Executable File
#!/usr/bin/env bash
|
|
wget https://github.com/swoole/swoole-src/archive/v${SW_VERSION}.tar.gz -O swoole.tar.gz
|
|
mkdir -p swoole
|
|
tar -xf swoole.tar.gz -C swoole --strip-components=1
|
|
rm swoole.tar.gz
|
|
cd swoole
|
|
phpize
|
|
./configure --enable-openssl --enable-mysqlnd --enable-http2
|
|
make -j$(nproc)
|
|
sudo make install
|